Name
ident
Synopsis
ident [option
] [files
]
Description
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: amv $
Show keywords for all RCS files (suppress warnings):
co -p RCS/*,v | ident -q
Get Linux in a Nutshell, Third Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.