what(C) 19 June 1992 what(C) Name what - identifies files Syntax what files Description The what command searches the given files for all occurrences of the pat- tern @(#) 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 infor- mation is inserted manually. See also admin(CP), get(CP) Standards conformance what is conformant with: AT&T SVID Issue 2; and X/Open Portability Guide, Issue 3, 1989.