xref: /386bsd/usr/share/man/cat1/ident.0 (revision a2142627)
1
2
3
4IDENT(1L)                                               IDENT(1L)
5
6
7NNAAMMEE
8       ident - identify files
9
10SSYYNNOOPPSSIISS
11       iiddeenntt [ --qq ] [ file ... ]
12
13DDEESSCCRRIIPPTTIIOONN
14       _I_d_e_n_t  searches  the  named  files  or,  if  no  file name
15       appears, the standard input for  all  occurrences  of  the
16       pattern $_k_e_y_w_o_r_d:...$, where _k_e_y_w_o_r_d is one of
17
18               Author
19               Date
20               Header
21               Id
22               Locker
23               Log
24               Revision
25               RCSfile
26               Source
27               State
28
29       These  patterns are normally inserted automatically by the
30       RCS command _c_o(1L), but can also be inserted manually. The
31       option  --qq  suppresses  the  warning given if there are no
32       patterns in a file.
33
34       _I_d_e_n_t works on text files as  well  as  object  files  and
35       dumps.  For example, if the C program in file f.c contains
36
37               char rcsid[] = "$Header:  Header information $";
38
39       and f.c is compiled into f.o, then the command
40
41               ident  f.c  f.o
42
43       will print
44
45               f.c:
46                       $Header:  Header information $
47               f.o:
48                       $Header:  Header information $
49
50
51IIDDEENNTTIIFFIICCAATTIIOONN
52       Author:  Walter  F.   Tichy,   Purdue   University,   West
53       Lafayette, IN, 47907.
54       Revision Number: 1.2 ; Release Date: 89/05/02 .
55       Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
56
57SSEEEE AALLSSOO
58       ci(1L),   co(1L),   rcs(1L),   rcsdiff(1L),  rcsintro(1L),
59       rcsmerge(1L), rlog(1L), rcsfile(5L),
60       Walter F. Tichy, "Design, Implementation,  and  Evaluation
61
62
63
64University                    Purdue                            1
65
66
67
68
69
70IDENT(1L)                                               IDENT(1L)
71
72
73       of  a  Revision Control System," in _P_r_o_c_e_e_d_i_n_g_s _o_f _t_h_e _6_t_h
74       _I_n_t_e_r_n_a_t_i_o_n_a_l _C_o_n_f_e_r_e_n_c_e _o_n  _S_o_f_t_w_a_r_e  _E_n_g_i_n_e_e_r_i_n_g,  IEEE,
75       Tokyo, Sept. 1982.
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130University                    Purdue                            2
131
132
133