May 2000
Beginner
761 pages
18h 20m
English
look [-dfa] [-t termchar] string [file]
look displays any lines in a file that contain a string as a prefix. As look performs a binary search, the lines in the file must be sorted. If a file is not specified, the file /usr/dict/words is used, only alphanumeric characters are compared, and the case of alphabetic characters is ignored.
OPTIONS:
| -d | Dictionary character set and order; i.e., only alphanumeric characters are compared. |
| -f | Ignores the case of alphabetic characters. |
| -a | Uses the alternate dictionary /usr/dict/web2. |
| -t | Specifies a string termination character; i.e., only the characters in string up to and including the first occurrence of the termination character are compared. ... |
Read now
Unlock full access