Line | |
---|
1 | .TH LOOK 1
|
---|
2 | .SH NAME
|
---|
3 | look \- find lines in a sorted list
|
---|
4 | .SH SYNOPSIS
|
---|
5 | .B look
|
---|
6 | .RB [ \-df ]
|
---|
7 | .I string
|
---|
8 | .RI [ file ]
|
---|
9 | .SH DESCRIPTION
|
---|
10 | .B Look
|
---|
11 | consults a sorted file and prints all lines that begin with
|
---|
12 | .IR string .
|
---|
13 | It uses binary search. The options
|
---|
14 | .B \-d
|
---|
15 | and
|
---|
16 | .B \-f
|
---|
17 | affect comparisons as in
|
---|
18 | .BR sort (1).
|
---|
19 | If no file is specified,
|
---|
20 | .B /usr/lib/dict/words
|
---|
21 | is assumed with collating sequence
|
---|
22 | .BR \-df .
|
---|
23 | .SH OPTIONS
|
---|
24 | .TP 5
|
---|
25 | .B \-d
|
---|
26 | Dictionary order: compare letters, digits and whitespace.
|
---|
27 | .TP 5
|
---|
28 | .B \-f
|
---|
29 | Fold. Upper case letters compare equal to lower case.
|
---|
30 | .SH FILES
|
---|
31 | .TP 25
|
---|
32 | .B /usr/lib/dict/words
|
---|
33 | Sorted list of English words.
|
---|
34 | .SH "SEE ALSO"
|
---|
35 | .BR sort (1),
|
---|
36 | .BR spell (1).
|
---|
37 | .SH AUTHOR
|
---|
38 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.