bsd man page for look

Query: look

OS: bsd

Section: 1

Links: bsd man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 participate in comparisons. f Fold. Upper case letters compare equal to lower case. If no file is specified, /usr/dict/words is assumed with collating sequence -df.
FILES
/usr/dict/words
SEE ALSO
sort(1), grep(1) 7th Edition April 29, 1985 LOOK(1)
Related Man Pages
look(1) - mojave
look(1) - redhat
look(1) - linux
look(1) - debian
look(1) - sunos
Similar Topics in the Unix Linux Community
Lookup between 2 files ( korn shell )
look through the spyglass
The Look and Feel of UNIX.COM
Look up 2 files and print the concatenated output
Looking for an awk command to print strings only if substring is missing