File:  [CSRG BSD Unix] / 43BSDTahoe / man / man1 / look.1
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

.\"	@(#)look.1	6.1 (Berkeley) 4/29/85
.\"
.TH LOOK 1 "April 29, 1985"
.AT 3
.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.