ident(1) CLIX ident(1)
NAME
ident - Identifies files
SYNOPSIS
ident [-q] [file .... ]
FLAGS
-q Suppresses the warning given if no patterns are found in a file.
DESCRIPTION
The ident command searches the named files or, if no filename appears,
stdin for all occurrences of an RCS identifying pattern from among the
following:
Author
Date
Header
Id
Locker
Log
Revision
RCSfile
Source
State
These patterns are normally inserted automatically by the RCS command co,
but can also be inserted manually. The -q flag suppresses the warning
given if no patterns are in a file.
The ident command works on text files, object files, and dumps.
EXAMPLES
If the C program in file f.c contains
char rcsid[] = "$Header: /doc/src/prog.ref/commands/RCS/ident,v
1.1 90/07/19 10:28:42 crooks Exp $";
and f.c is compiled into f.o, then the command
ident f.c f.o
will display
f.c:
$Header: /doc/src/prog.ref/commands/RCS/ident,v 1.1
90/07/19 10:28:42 crooks Exp $
2/94 - Intergraph Corporation 1
ident(1) CLIX ident(1)
f.o:
$Header: /doc/src/prog.ref/commands/RCS/ident,v 1.1
90/07/19 10:28:42 crooks Exp $
DIAGNOSTICS
ident warning: no id keywords in input
The specified file has no RCS identification information.
ident error: can't open filename
The specified file cannot be opened for a read.
EXIT VALUES
The ident command exits with a 0 if successful.
RELATED INFORMATION
Commands: ci(1), co(1), rcs(1), rcsclean(1), rcsdiff(1), rcsmerge(1),
rlog(1)
Files: rcsfile(4)
2 Intergraph Corporation - 2/94