4 .ds iD \\$3 \\$4 \\$5 \\$6 \\$7
6 .Id $FreeBSD: src/gnu/usr.bin/rcs/ident/ident.1,v 1.5 1999/08/27 23:36:42 peter Exp $
7 .Id $DragonFly: src/gnu/usr.bin/rcs/ident/ident.1,v 1.2 2003/06/17 04:25:47 dillon Exp $
14 ident \- identify RCS keyword strings in files
26 searches for all instances of the pattern
27 .BI $ keyword : "\ text\ " $
28 in the named files or, if no files are named, the standard input.
30 These patterns are normally inserted automatically by the \*r command
32 but can also be inserted manually.
36 the warning given if there are no patterns in a file.
44 works on text files as well as object files and dumps.
45 For example, if the C program in
52 static char const rcsid[] =
54 \&"$\&Id: f.c,v \*(iD $\&";
56 int main() { return printf(\&"%s\en\&", rcsid) == EOF; }
78 If a C program defines a string like
80 above but does not use it,
82 may complain, and some C compilers will optimize away the string.
83 The most reliable solution is to have the program use the
85 string, as shown in the example above.
88 finds all instances of the
89 .BI $ keyword : "\ text\ " $
92 is not actually an \*r-supported keyword.
93 This gives you information about nonstandard keywords like
96 Here is the list of keywords currently maintained by
98 All times are given in Coordinated Universal Time (\*u,
99 sometimes called \&\s-1GMT\s0) by default, but if the files
100 were checked out with
103 option, times are given with a numeric time zone indication appended.
106 The login name of the user who checked in the revision.
109 The date and time the revision was checked in.
112 A standard header containing the full pathname of the \*r file, the
113 revision number, the date and time, the author, the state,
114 and the locker (if locked).
119 except that the \*r filename is without a path.
122 The login name of the user who locked the revision (empty if not locked).
125 The log message supplied during checkin.
128 purposes, this is equivalent to
132 The symbolic name used to check out the revision, if any.
135 The name of the \*r file without a path.
138 The revision number assigned to the revision.
141 The full pathname of the \*r file.
144 The state assigned to the revision with the
152 represents the following characters in keyword values by escape sequences
153 to keep keyword strings well-formed.
159 \f2char escape sequence\fP
168 Author: Walter F. Tichy.
170 Manual Page Revision: \*(Rv; Release Date: \*(Dt.
172 Copyright \(co 1982, 1988, 1989 Walter F. Tichy.
174 Copyright \(co 1990, 1992, 1993 Paul Eggert.
176 ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
180 \*r\*-A System for Version Control,
181 .I "Software\*-Practice & Experience"
183 7 (July 1985), 637-654.