Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ what(1) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

get(1)

sccshelp(1)

what(1)

NAME

what − identify SCCS files

SYNTAX

what files

DESCRIPTION

The what command searches the given files for all occurrences of the pattern that get(1) substitutes for %Z% (this is @(#) at this printing) and prints out what follows until the first ~, >, new-line, \, or null character.  For example, if the C program in file f.c contains:

char ident[] = "@(#)identification information";

If f.c is compiled to yield f.o and a.out, then the command:

what  f.c f.o a.out

This command will print:

f.c:
identification information
f.o:
identification information
a.out:
identification information

The what command is intended to be used in conjunction with the  command get(1), which automatically inserts identifying information, but it can also be used where the information is inserted manually. 

RESTRICTIONS

It is possible that an unintended occurrence of the pattern @(#) could be found just by chance, but this causes no harm in nearly all cases. 

DIAGNOSTICS

Use sccshelp(1) for explanations. 

SEE ALSO

get(1), sccshelp(1). 

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