Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look(1) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

grep(1)

sort(1)

look(1)

NAME

look − find lines in sorted data

SYNTAX

look [−df] string [file]

DESCRIPTION

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

OPTIONS

The options d and f affect comparisons as in sort(.). If no file is specified, /usr/dict/words is assumed with collating sequence −df. 

−dUses dictionary order: only letters, digits, tabs and blanks can be compared. 

−fFolds uppercase to lowercase (compares equally). 

FILES

/usr/dict/words

SEE ALSO

grep(1), sort(1)

Commands

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