WHAT(C) XENIX System V WHAT(C)
Name
what - Identifies files.
Syntax
what files
Description
what searches the given files for all occurrences of the
pattern @(#) and prints out what follows until the first
tilde (~), greater-than sign (>), new-line, backslash (\) or
null character. The SCCS command get(CP) substitutes this
string as part of the @(#) string.
For example, if the shell procedure in file print contains
# @(#)this is the print program
# @(#)syntax: print [files]
pr $* | lpr
then the command
what print
displays the name of the file print and the identifying
strings in that file:
print:
this is the print program
syntax: print [files]
what is intended to be used with the get(CP) command, which
automatically inserts identifying information, but it can
also be used where the information is inserted manually.
See Also
admin(CP), get(CP)
Page 1 (printed 2/7/91)