Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look.bsd(1) — Domain/IX SR9.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

LOOK(1)

NAME

look − find lines in a sorted list

USAGE

look [ −df ] string [ file ]

DESCRIPTION

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

The two valid options for look affect comparisons as in sort (1).  If no file is specified, /usr/dict/words is assumed with the collating sequence −df. 

OPTIONS

−d Use dictionary order.  Compare only letters, digits, tabs, and blanks. 

−f Compare uppercase letters equal to lowercase letters. 

FILES

/usr/dict/words

RELATED INFORMATION

grep (1), sort (1). 

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