WHAT(1) | User Commands | WHAT(1) |
what - extract SCCS version information from a file
what filename...
The what utility searches each filename for occurrences of the pattern @(#) that the SCCS get command (see get(1)) substitutes for the @(#) ID keyword, and prints what follows up to a ", >, NEWLINE, \, or NULL character. For example, if a C program in file program.c contains
char sccsid[] = "@(#)identification information";
and program.c is compiled to yield program.o and a.out, the command:
$ what program.c program.o a.out
produces:
The following option is accepted:
The following exit values are returned:
get(1), help(1)
Use the SCCS help command for explanations (see help(1)).
There is a remote possibility that a spurious occurrence of the `@(#)' pattern could be found by what.
2/3/07 | Heirloom Toolchest |