LOOKUP(1) — USER COMMANDS
NAME
lookup − find documentation references by index search
SYNOPSIS
lookup [ -p ] word...
lookup -v
DESCRIPTION
lookup searches for and displays index entries from the Solbourne customer documentation box.
The index entries supply the binder name, the manual name as it appears on the binder tab, and the section and page number. From this information the text may be located in the printed Solbourne manuals. On-line man page entries for the first word given as an argument are also found, and directions for displaying them are shown.
An index entry matches if it contains all the words, in any order. Case is not significant. Partial matches may be found using the -p option.
OPTIONS
-p Matches parts of words in the reference. For example, the word "assem" given as an argument matches index entries containing "assembler" and "assembly."
-v Prints the release version as well as the date and time of creation for the MASTERINDEX data base that is being used by lookup.
USAGE
Best results are obtained with one or two words, although more may be used.
ENVIRONMENT
MASTERINDEX
Specifies the location of the master index file. By default, the program will attempt to find the master index file in /usr/man/masterindex.
EXAMPLES
% lookup mouse tests
Tests, Keyboard/mouse:
binder: Administration Guides
tab: System Diagnostics Manual, page 3-10
mouse:
binder: UNIX Programmer’s Reference Manual
tab: Section 4 Special Files
online: man 4 mouse
% lookup -p test key mouse
Tests, Keyboard/mouse:
binder: Administration Guides
tab: System Diagnostics Manual, page 3-10
test:
binder: UNIX User’s Reference Manual
tab: Section 1 Commands
online: man test
FILES
/usr/man/masterindex Contains the index entry database
SEE ALSO
COPYRIGHT
Copyright ©, Solbourne Computer, Inc.
AUTHORS
Vic Schoenberg and Frank Hamilton, Solbourne Computer, Inc.
Solbourne Computer, Inc. — 21 November 1989