look Command look
Find matching lines in a sorted file
look [-df] string [file]
The command look scans the sorted file and prints each line that
begins with string.
The following options specify the order of the search:
-d Use dictionary order: the only characters tested are al-
phanumerics and blanks.
-f Convert all alphabetic characters to upper case.
If no file is specified, look uses /usr/dict/words with the -df
option.
***** Files *****
/usr/dict/words --File of words (sorted with sort -df).
***** See Also *****
commands, sort
***** Notes *****
Because the file /usr/dict/words is quite large, it might not be
included with COHERENT systems for machines with limited disk
space. As a result, the command might not work as expected on
all systems.
COHERENT Lexicon Page 1