Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look(1) — Ultrix/UWS 4.0 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. B

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)

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