unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-5.10)
Page:
Section:
Apropos / Subsearch:
optional field

look(1)                          User Commands                         look(1)



NAME
       look - find words in the system dictionary or lines in a sorted list

SYNOPSIS
       /usr/bin/look [-d] [-f] [-tc] string [filename]

DESCRIPTION
       The  look  command consults a sorted filename and prints all lines that
       begin with string.

       If no  filename is specified, look uses /usr/share/lib/dict/words  with
       collating sequence -df.

       look limits the length of a word to search for to 256 characters.

OPTIONS
       -d       Dictionary order. Only letters, digits,  TAB and SPACE charac-
                ters are used in comparisons.



       -f       Fold case. Upper case letters are not distinguished from lower
                case in comparisons.



       -tc      Set termination character. All characters to the right of c in
                string are ignored.



FILES
       /usr/share/lib/dict/words       spelling list



ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       tab()    allbox;    cw(2.750000i)|     cw(2.750000i)     lw(2.750000i)|
       lw(2.750000i).  ATTRIBUTE TYPEATTRIBUTE VALUE AvailabilitySUNWesu


SEE ALSO
       grep(1), sort(1), attributes(5)



SunOS 5.10                        29 Mar 1994                          look(1)