Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look(1) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

grep(1)

sort(1)

look(1)

NAME

look − find lines in a sorted list

SYNTAX

look [ −df ] string [ file ]

DESCRIPTION

The look command reads sorted data in file and prints all lines that begin with the specified string.  It uses binary search.  If no file is specified, /usr/dict/words is assumed with collating sequence −df. 

OPTIONS

d “Dictionary” order: only letters, digits, tabs and blanks participate in comparisons. 

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

FILES

/usr/dict/words

SEE ALSO

grep(1), sort(1)

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