LOOK(1) BSD LOOK(1)
NAME
look - find lines in a sorted list
SYNOPSIS
look [ -df ] string [ file ]
DESCRIPTION
The look command 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(1). If you don't
specify a file, look assumes /usr/dict/words with the collating sequence
-df.
OPTIONS
-d Use dictionary order. Compare only letters, digits, tabs, and
blanks.
-f Fold. Uppercase letters compare equal to lowercase letters.
FILES
/usr/dict/words
SEE ALSO
grep (1), sort (1).