BSD 4_3_Net_2 development
[unix-history] / usr / src / contrib / rcs / man / ident.1
CommitLineData
ad78b3ad
C
1.TH IDENT 1L "" "Purdue University"
2.SH NAME
3ident \- identify files
4.SH SYNOPSIS
5\fBident\fR [ \fB\-q\fR ] [ file ... ]
6.SH DESCRIPTION
7.I Ident
8searches the named files or, if no file name appears, the standard input
9for all occurrences of the pattern
10\fI$keyword:...$\fR, where \fIkeyword\fR is one of
11.nf
12
13 Author
14 Date
15 Header
16 Id
17 Locker
18 Log
19 Revision
20 RCSfile
21 Source
22 State
23
24.fi
25These patterns are normally inserted automatically by the RCS command
26.IR co (1L),
27but can also be inserted manually. The option \fB\-q\fR suppresses
28the warning given if there are no patterns in a file.
29.PP
30\fIIdent\fR works on text files as well as object files and dumps.
31For example, if the C program in file f.c contains
32.nf
33
34 char rcsid[] = "$\&Header: Header information $";
35
36.fi
37and f.c is compiled into f.o, then the command
38.nf
39
40 ident f.c f.o
41
42will print
43
44 f.c:
45 $\&Header: Header information $
46 f.o:
47 $\&Header: Header information $
48
49.SH IDENTIFICATION
50.de VL
51\\$2
52..
53Author: Walter F. Tichy,
54Purdue University, West Lafayette, IN, 47907.
55.sp 0
56Revision Number:
57.VL $Revision: 1.2 $
58; Release Date:
59.VL $Date: 89/05/02 11:13:09 $
60\&.
61.sp 0
62Copyright \(co 1982, 1988, 1989 by Walter F. Tichy.
63.SH SEE ALSO
64ci(1L), co(1L), rcs(1L), rcsdiff(1L), rcsintro(1L), rcsmerge(1L), rlog(1L), rcsfile(5L),
65.sp 0
66Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control
67System," in \fIProceedings of the 6th International Conference on Software
68Engineering\fR, IEEE, Tokyo, Sept. 1982.