UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: coChapter 19
The Revision Control System
Next: Reference: merge
 

ident

ident [options] [files]

Extract keyword/value symbols from files. files can be text files, object files, or dumps. ident accepts the standard option -V.

Options

-q

Suppress warning message when no keyword patterns are found.

-V

Print the version number of ident.

Examples

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


Previous: Reference: coUNIX in a Nutshell: System V EditionNext: Reference: merge
Reference: coBook IndexReference: merge

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System