LOOK
Section: User Commands (1)
Updated: April 29, 1985
Index
Return to Main Contents
NAME
look - find lines in a sorted list
SYNOPSIS
look
[
-df
]
string
[ file ]
DESCRIPTION
Look
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):
- d
-
`Dictionary' order:
only letters, digits,
tabs and blanks participate in comparisons.
- f
-
Fold.
Upper case letters compare equal to lower case.
If no
file
is specified,
/usr/dict/words
is assumed with collating sequence
-df.
FILES
/usr/dict/words
SEE ALSO
sort(1), grep(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 13:53:56 GMT, September 25, 2024