WHAT(1) OpenBSD Reference Manual WHAT(1)NAMEwhat - show what versions of object modules were used to construct a file
SYNOPSISwhat [-s] file ...
DESCRIPTIONwhat reads each file and searches for sequences of either the form `$'
immediately followed by the system name (sysname) as defined by uname(3),
or the form ``@(#)'' as inserted by the source code control system
(SCCS). It prints the remainder of the string following this marker, up
to a NUL, newline, double quote, backslash, or `>' character.
If the -s option is specified, only the first occurrence of an
identification string in each file is printed.
EXIT STATUS
The what utility exits with a return value of 0 if any identification
strings were found, or with a return value of 1 otherwise.
STANDARDS
The what utility is compliant with the X/Open Portability Guide Issue 4
(``XPG4'') specification.
HISTORY
The what command appeared in 4.0BSD.
BUGS
As BSD is not licensed to distribute SCCS, this is a rewrite of the what
command which is part of SCCS. As such it may not behave exactly the
same as that command does.
OpenBSD 4.9 September 3, 2010 OpenBSD 4.9