Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ look(1) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

grep(1)

sort(1)

look(1)  —  USER COMMANDS

NAME

look − find words in the system dictionary or lines in a sorted list

SYNOPSIS

/usr/ucb/look [ −d ] [ −f ] [ −tc ] string [ filename ]

DESCRIPTION

The look command consults a sorted filename and prints all lines that begin with string.

If no filename is specified, look uses /usr/ucblib/dict/words with collating sequence −df. 

The following options are available:

−d Dictionary order.  Only letters, digits, TAB and SPACE characters are used in comparisons. 

−f Fold case.  Upper case letters are not distinguished from lower case in comparisons. 

−tc Set termination character.  All characters to the right of c in string are ignored. 

FILES

/usr/ucblib/dict/words

SEE ALSO

grep(1), sort(1). 

  —  BSD Compatibility Package

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