ident
[options] [files]Extract keyword/value symbols from files. files can be text files, object files, or dumps. ident accepts the standard option -V
.
-q
Suppress warning message when no keyword patterns are found.
-V
Print the version number of ident.
If file prog.c is compiled, and it contains this line of code:
char rcsID[] = "$Author: arnold $";
the following output is produced:
$ident prog.c prog.o
prog.c: $Author: arnold $ prog.o: $Author: arnold $
Show keywords for all RCS files (suppress warnings):
co -p RCS/*,v | ident -q