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 occurrences 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 containing 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. Mul-
tiple -F options may be specified on the command line, and
can either be grouped together or interspersed between
options.
1
ident(1) MPE/iX Shell and Utilities ident(1)
______________________________________________________________________
-q suppresses the warning given if there are no keywords in a
file.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Failure due to an invalid command line argument, or inability
to open input file.
Messages
Message: input file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: No filename present for -F option.
Cause: You specified the -F option, but did not provide a file
name as its argument.
Action: Provide the missing file name.
Message: Unknown option "-option"
Cause: You specified an option that is not valid for ident.
Action: Check the DESCRIPTION section of this man page for a
list of valid ident options.
For a list of error messages common to all RCS utilities, see
rcserror(3).
PORTABILITY
All UNIX systems.
The -F option is an extension to traditional implementations of
ident.
MPE/iX NOTES
For information on how the current MPE/iX implementation may
affect the operation of this utility, see Appendix A, MPE/iX
Implementation Considerations.
SEE ALSO
ci(1), co(1), rcs(1), rcsclean(1), rcsdiff(1), rcsmerge(1),
rlog(1), rcsfile(3)
2