look(1)
NAME
look − find lines in a sorted list
SYNTAX
look [ −df ] string [ file ]
DESCRIPTION
The look command reads sorted data in file and prints all lines that begin with the specified string. It uses binary search. If no file is specified, /usr/dict/words is assumed with collating sequence −df.
OPTIONS
d “Dictionary” order: only letters, digits, tabs and blanks participate in comparisons.
f Fold. Upper case letters compare equal to lower case.
FILES
/usr/dict/words