Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LOOK(1)			    General Commands Manual		       LOOK(1)

NAME
       look - find lines in a sorted list

SYNOPSIS
       look [ -df ] string [ file ]

DESCRIPTION
       Look  consults  a  sorted  file	and  prints  all lines that begin with
       string.	It uses	binary search.

       The options d and f affect comparisons as in sort(1):

       d   `Dictionary'	order: only letters, digits, tabs and blanks  partici-
	   pate	in comparisons.

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

       If  no file is specified, /usr/dict/words is assumed with collating se-
       quence -df.

FILES
       /usr/dict/words

SEE ALSO
       sort(1),	grep(1)

								       LOOK(1)

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=look&manpath=Unix+Seventh+Edition>

home | help