LOOK(1)
NAME
look − find lines in a sorted list
USAGE
look [ −df ] string [ file ]
DESCRIPTION
Look consults a sorted file and prints all lines that begin with string. It uses binary search.
The two valid options for look affect comparisons as in sort(1). If no file is specified, /usr/dict/words is assumed with the collating sequence −df.
OPTIONS
−d Use dictionary order. Compare only letters, digits, tabs, and blanks.
−f Compare uppercase letters equal to lowercase letters.
FILES
/usr/dict/words