1look(1) User Commands look(1)
2
3
4
6 look - find words in the system dictionary or lines in a sorted list
7
9 /usr/bin/look [-d] [-f] [-tc] string [filename]
10
11
13 The look command consults a sorted filename and prints all lines that
14 begin with string.
15
16
17 If no filename is specified, look uses /usr/share/lib/dict/words with
18 collating sequence -df.
19
20
21 look limits the length of a word to search for to 256 characters.
22
24 -d Dictionary order. Only letters, digits, TAB and SPACE charac‐
25 ters are used in comparisons.
26
27
28 -f Fold case. Upper case letters are not distinguished from lower
29 case in comparisons.
30
31
32 -tc Set termination character. All characters to the right of c in
33 string are ignored.
34
35
37 /usr/share/lib/dict/words spelling list
38
39
41 See attributes(5) for descriptions of the following attributes:
42
43
44
45
46 ┌─────────────────────────────┬─────────────────────────────┐
47 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Availability │SUNWesu │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 grep(1), sort(1), attributes(5)
54
55
56
57SunOS 5.11 29 Mar 1994 look(1)