Name
ident
Synopsis
ident [option
] [files
]
Extract keyword/value symbols from files. files can be text files, object files, or dumps.
Options
- -q
Suppress warning message when no keyword patterns are found.
- -V
Print version information and exit.
Examples
If file prog.c
is compiled, and it contains this
line of code:
char rcsID[ ] = "$Author: daniel $";
then the following output is produced:
% ident prog.c prog.o
prog.c:
$Author: daniel $
prog.o:
$Author: daniel $
Show keywords for all RCS files (suppress warnings):
co -p RCS/*,v | ident -q
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.