WHAT(1)

NAME
what - show what versions of object modules were used to construct a file

SYNOPSIS
what [-s] file ...

DESCRIPTION
The what utility searches each specified file for sequences of the form “@(#)” as inserted by the source code control system. It prints the remainder of the string following this marker, up to a NUL character, newline, double quote, “>” character, or backslash.

The following option is available:

-s  Stop searching each file after the first match.

Exit status is 0 if any matches were found, otherwise 1.

BUGS
This is a rewrite of the SCCS command of the same name, and behavior may not be identical.

SEE ALSO
ident(1), strings(1)

HISTORY
The what command appeared in 4.0BSD.