look(1) (BSD Compatibility Package) look(1)
NAME
look - find lines in a sorted list
SYNOPSIS
/usr/ucb/look [-df] string [file]
DESCRIPTION
look consults a sorted file and prints all lines that begin with
string. It uses binary search.
OPTIONS
The options -d and -f affect comparisons as in sort(1):
-d "Dictionary" order: only letters, digits, tabs, and blanks parti-
cipate in comparisons.
-f Fold. Uppercase letters compare equal to lowercase.
If no file is specified, /usr/ucblib/dict/words is assumed with col-
lating sequence -df.
FILES
/usr/ucblib/dict/words
SEE ALSO
grep(1), sort(1).
Page 1 Reliant UNIX 5.44 Printed 11/98