LOOK(CT) XENIX System V LOOK(CT)
Name
look - Finds lines in a sorted list.
Syntax
look [ -df ] string [ file ]
Description
look consults a sorted file and prints all lines that begin
with string. It uses binary search.
The options d and f affect comparisons as in sort(C):
-d Dictionary order: only letters, digits, tabs and blanks
participate in comparisons.
-f Fold. Uppercase letters compare equal to lowercase.
If no file is specified, /usr/dict/words is assumed with
collating sequence -df.
Files
/usr/dict/words
See Also
sort(C), grep(C)
Page 1 (printed 8/7/87)