home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: co Chapter 18
The RCS Utility
Next: Reference: merge
 

ident

ident [

option

] [

files

]

Extract keyword/value symbols from files . files can be text files, object files, or dumps.

Option

-q

Suppress warning message when no keyword patterns are found.

Examples

If file prog.c is compiled, and it contains this line of code:

char rcsID[] = "$Author: george $

then the following output is produced:

% 

ident prog.c prog.o


prog.c:
     $Author: george $
prog.o:
     $Author: george $

Show keywords for all RCS files (suppress warnings):

co -p RCS/*,v | ident -q


Previous: Reference: co UNIX in a Nutshell: System V Edition Next: Reference: merge
Reference: co Book Index Reference: merge

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