The
what utility reads each
file operand and searches 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 null character, 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.