LOOK(1) COMMAND REFERENCE LOOK(1) NAME look - find lines in a sorted list SYNOPSIS look [ -d ] [ -f ] string [ filename] DESCRIPTION Look consults a sorted file and prints all lines that begin with string. It uses binary search. If no filename is specified, /usr/dict/words is assumed with collating sequence -df. OPTIONS -d `Dictionary' order: only letters, digits, tabs and blanks participate in comparisons. -f Fold. Upper case letters compare equal to lower case. EXAMPLES The following invocation of this command will print all words beginning with 'exp' found in /usr/dict/words. Dictionary order and folding are automatically assumed. look exp FILES /usr/dict/words Online dictionary RETURN VALUE [0] String was found. [1] String was not found. [USAGE] Incorrect command line syntax. Execution terminated. [P_ERR] A system error occurred. Execution terminated. See intro(2) for more information on system errors. SEE ALSO awk(1), comm(1), cut(1), egrep(1), fgrep(1), grep(1), paste(1), sort(1), spell(1), and uniq(1). Printed 5/12/88 1
%%index%% na:240,86; sy:326,229; de:555,466; op:1021,285; ex:1306,290; fi:1596,138; rv:1734,496; se:2230,296; %%index%%000000000133