MPE/iX Shell and Utilities Reference Manual, Vol 1

ident(1) MPE/iX Shell and Utilities ident(1)
NAME
ident — look for keywords in a file
SYNOPSIS
ident [–q][–Ffile...][file ...]
DESCRIPTION
ident searches the named files (or the standard input if no files are specified) for all occur-
rences of the pattern $keyword:...$, where keyword is one of the following RCS keywords:
Author
Date
Header
Id
Locker
Log
Revision
RCSfile
Source
State
The file must be checked out for the ident command to work.
The ident command works on object files and dumps as well as text files. For example, if
the C program in file f.c contains
char rcsid[] = "$Header: Header information $";
and f.c is compiled into f.o, the command
ident f.c f.o
prints
f.c:
$Header: Header information $
f.o:
$Header: Header information $
Options
ident accepts the following options:
–Ffile...
provides an alternate way to specify file names. The given file is a text file contain-
ing a list of file names, one file name per line. ident checks all the files named in
file, using the options specified on the command line. Multiple –F options may be
Commands and Utilities 1-271