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.4 (Berkeley) 07/24/90 7.\" 8.Dd 9.Dt LOOK 1 10.Os BSD 4.4 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.Tw Ds 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. 56