File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man1 / look.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH LOOK 1 "18 January 1983"
.SH NAME
look \- find lines in a sorted list
.SH SYNOPSIS
.B look
[
.B \-df
]
string
[ file ]
.SH DESCRIPTION
.I Look
consults a sorted
.I file
and prints all lines that begin with
.IR string .
It uses binary search.
.PP
The options 
.B d
and
.B f
affect comparisons as in
.IR  sort (1):
.TP 4
.B  d
`Dictionary' order:
only letters, digits,
tabs and blanks participate in comparisons.
.TP 4
.B  f
Fold.
Upper case letters compare equal to lower case.
.PP
If no
.I file
is specified,
.I /usr/dict/words
is assumed with collating sequence
.B \-df.
.SH FILES
/usr/dict/words
.SH "SEE ALSO"
sort(1), grep(1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.