Commit | Line | Data |
---|---|---|
ad78b3ad C |
1 | .TH IDENT 1L "" "Purdue University" |
2 | .SH NAME | |
3 | ident \- identify files | |
4 | .SH SYNOPSIS | |
5 | \fBident\fR [ \fB\-q\fR ] [ file ... ] | |
6 | .SH DESCRIPTION | |
7 | .I Ident | |
8 | searches the named files or, if no file name appears, the standard input | |
9 | for 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 | |
25 | These patterns are normally inserted automatically by the RCS command | |
26 | .IR co (1L), | |
27 | but can also be inserted manually. The option \fB\-q\fR suppresses | |
28 | the 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. | |
31 | For example, if the C program in file f.c contains | |
32 | .nf | |
33 | ||
34 | char rcsid[] = "$\&Header: Header information $"; | |
35 | ||
36 | .fi | |
37 | and f.c is compiled into f.o, then the command | |
38 | .nf | |
39 | ||
40 | ident f.c f.o | |
41 | ||
42 | will 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 | .. | |
53 | Author: Walter F. Tichy, | |
54 | Purdue University, West Lafayette, IN, 47907. | |
55 | .sp 0 | |
56 | Revision Number: | |
57 | .VL $Revision: 1.2 $ | |
58 | ; Release Date: | |
59 | .VL $Date: 89/05/02 11:13:09 $ | |
60 | \&. | |
61 | .sp 0 | |
62 | Copyright \(co 1982, 1988, 1989 by Walter F. Tichy. | |
63 | .SH SEE ALSO | |
64 | ci(1L), co(1L), rcs(1L), rcsdiff(1L), rcsintro(1L), rcsmerge(1L), rlog(1L), rcsfile(5L), | |
65 | .sp 0 | |
66 | Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control | |
67 | System," in \fIProceedings of the 6th International Conference on Software | |
68 | Engineering\fR, IEEE, Tokyo, Sept. 1982. |