Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look(1) — Duplix 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sort(1)

grep(1)

LOOK(1)  —  Unix Programmer’s Manual

NAME

look − find lines in a sorted list

SYNOPSIS

look [ options ] string [ file ]

DESCRIPTION

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

If you do not specify a file, look uses /usr/dict/words with the collating sequence −df. 

OPTIONS

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

−d Searches in ‘dictionary’ order: only letters, digits, tabs and blanks participate in comparisons. 

−f Folds the letters.  Upper case letters compare equal to lower case. 

FILES

/usr/dict/words

SEE ALSO

sort(1), grep(1)

INTEGRATED SOLUTIONS 4.3 BSD  —  April 29, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026