xref: /csrg-svn/usr.bin/look/look.1 (revision 44281)
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)look.1	6.3 (Berkeley) 06/26/90
7.\"
8.Dd
9.Dt LOOK 1
10.Os ATT 7th
11.Sh NAME
12.Nm look
13.Nd display lines beginning with a given string
14.Sh SYNOPSIS
15.Nm look
16.Op Fl df
17.Ar string
18.Op Ar file
19.Sh DESCRIPTION
20The
21.Nm Look
22utility searchs  a text
23.Ar file
24for all
25matches of
26.Ar string .
27The
28.Ar file
29must be sorted for
30.Nm look
31to work properly. If
32.Ar file
33is not specified, the file
34.Pa /usr/share/dict/words
35is used.
36.Pp
37Options:
38.Tp Ar d
39Dictionary character set and order.
40.Tp Ar f
41Ignore case.
42.Tp
43.Sh FILES
44.Dw /usr/share/dict/words
45.Di L
46.Dp Pa /usr/share/dict/words
47A spelling dictionary.
48.Dp
49.Sh SEE ALSO
50.Xr sort 1 ,
51.Xr grep 1
52.Sh HISTORY
53.Nm Look
54appeared in Version 7 AT&T Unix.
55