4.3BSD-Tahoe/usr/man/cat1/look.0

Compare this file to the similar file:
Show the results in this format:




LOOK(1)             UNIX Programmer's Manual		  LOOK(1)



NNAAMMEE
     look - find lines in a sorted list

SSYYNNOOPPSSIISS
     llooookk [ --ddff ] string [ file ]

DDEESSCCRRIIPPTTIIOONN
     _L_o_o_k consults a sorted _f_i_l_e and prints all lines that begin
     with _s_t_r_i_n_g.  It uses binary search.

     The options dd and ff affect comparisons as in _s_o_r_t(1):

     dd	 `Dictionary' order: only letters, digits, tabs and
	 blanks participate in comparisons.

     ff	 Fold.	Upper case letters compare equal to lower case.

     If no _f_i_l_e is specified, /_u_s_r/_d_i_c_t/_w_o_r_d_s is assumed with
     collating sequence --ddff..

FFIILLEESS
     /usr/dict/words

SSEEEE AALLSSOO
     sort(1), grep(1)






























Printed 7/9/88		 April 29, 1985                         1