Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
look(1)
Edit
PageHistory
Diff
Info
LikePages
---- __NAME__ look - display lines beginning with a given string __SYNOPSIS__ look [[-df] [[-t termchar] string [[file ...] __DESCRIPTION__ The look utility displays any lines in file which contain string as a prefix. As look performs a binary search, the lines in file must be sorted. If file is not specified, the file /usr/share/dict/words is used, only alphanumeric characters are compared and the case of alphabetic characters is ignored. Options: -d Dictionary character set and order, i.e. onlyalphanumeric characters are compared. -fIgnore the case of alphabetic characters.-tSpecify a string termination character, i.e. only thecharacters in string up to and including the firstoccurrence of termchar are compared.The look utility exits 0 if one or more lines were found anddisplayed, 1 if no lines were found, and __FILES__ /usr/share/dict/words the dictionary __SEE ALSO__ grep(1), sort(1) __COMPATIBILITY__ The original manual page stated that tabs and blank charac- ters participated in comparisons when the -d option was specified. This was incorrect and the current man page matches the historic implementation. __HISTORY__ Look appeared in Version 7 AT . BSD June 14, 1993 1 ----
8 pages link to
look(1)
:
Man1l
buildhash(1)
findaffix(1)
icombine(1)
ijoin(1)
ispell(1)
munchlist(1)
tryaffix(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.