.Xr botch fix
[unix-history] / usr / src / usr.bin / look / look.1
CommitLineData
dd9e2e8d
CL
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
f4cde64a 3.\"
dd9e2e8d
CL
4.\" %sccs.include.redist.man%
5.\"
5325ced3 6.\" @(#)look.1 6.4 (Berkeley) %G%
ef1f0408
CL
7.\"
8.Dd
9.Dt LOOK 1
5325ced3 10.Os BSD 4.4
ef1f0408
CL
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
5325ced3 22utility searchs a text
ef1f0408
CL
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:
5325ced3 38.Tw Ds
ef1f0408
CL
39.Tp Ar d
40Dictionary character set and order.
41.Tp Ar f
42Ignore case.
43.Tp
44.Sh FILES
45.Dw /usr/share/dict/words
46.Di L
47.Dp Pa /usr/share/dict/words
48A spelling dictionary.
49.Dp
50.Sh SEE ALSO
51.Xr sort 1 ,
52.Xr grep 1
53.Sh HISTORY
54.Nm Look
55appeared in Version 7 AT&T Unix.