look(1)look(1)Namelook - find lines in sorted data
Syntaxlook [-df] string [file]
Description
The command consults a sorted file and prints all lines that begin with
string. It uses binary search. B
Options
The options d and f affect comparisons as in If no file is specified,
is assumed with collating sequence -df.
-d Uses dictionary order: only letters, digits, tabs and blanks can
be compared.
-f Folds uppercase to lowercase (compares equally).
Files
/usr/dict/words
See Alsogrep(1), sort(1)look(1)