add .Vx so tmac.andoc will call tmac.mdoc-old
[unix-history] / usr / src / usr.bin / look / look.1
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)look.1 6.5 (Berkeley) %G%
.\"
.Dd
.Dt LOOK 1
.Os BSD 4.4
.Sh NAME
.Nm look
.Nd display lines beginning with a given string
.Sh SYNOPSIS
.Nm look
.Op Fl df
.Ar string
.Op Ar file
.Sh DESCRIPTION
The
.Nm Look
utility searchs a text
.Ar file
for all
matches of
.Ar string .
The
.Ar file
must be sorted for
.Nm look
to work properly. If
.Ar file
is not specified, the file
.Pa /usr/share/dict/words
is used.
.Pp
Options:
.Tw Ds
.Tp Ar d
Dictionary character set and order.
.Tp Ar f
Ignore case.
.Tp
.Sh FILES
.Dw /usr/share/dict/words
.Di L
.Dp Pa /usr/share/dict/words
A spelling dictionary.
.Dp
.Sh SEE ALSO
.Xr sort 1 ,
.Xr grep 1
.Sh HISTORY
.Nm Look
appeared in Version 7 AT&T Unix.