what(1)
NAME
what − display ID keywords from SCCS file
SYNTAX
what files
DESCRIPTION
The what command searches the given files for all occurrences of the pattern that get() 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";
and f.c is compiled to yield f.o and a.out, then the command
what f.c f.o a.out
will print
f.c:
identification information
f.o:
identification information
a.out:
identification information
Use what in conjunction with the SCCS command get(,), which automatically inserts identifying information, but information can also be inserted manually.
RESTRICTIONS
It is possible that an unintended occurrence of the pattern @(#) could be found. This causes no harm in nearly all cases.
DIAGNOSTICS
Use sccshelp() for explanations.
SEE ALSO
get(1), help(1), sccs(1)
“An Introduction to the Source Code Control System,” ULTRIX-32 Supplementary Documentation Vol. II:Programmer
Commands