4 .ds iD \\$3 \\$4 \\$5 \\$6 \\$7
13 ident \- identify RCS keyword strings in files
25 searches for all instances of the pattern
26 .BI $ keyword : "\ text\ " $
27 in the named files or, if no files are named, the standard input.
29 These patterns are normally inserted automatically by the \*r command
31 but can also be inserted manually.
35 the warning given if there are no patterns in a file.
43 works on text files as well as object files and dumps.
44 For example, if the C program in
51 static char const rcsid[] =
53 \&"$\&Id: f.c,v \*(iD $\&";
55 int main() { return printf(\&"%s\en\&", rcsid) == EOF; }
77 If a C program defines a string like
79 above but does not use it,
81 may complain, and some C compilers will optimize away the string.
82 The most reliable solution is to have the program use the
84 string, as shown in the example above.
87 finds all instances of the
88 .BI $ keyword : "\ text\ " $
91 is not actually an \*r-supported keyword.
92 This gives you information about nonstandard keywords like
95 Here is the list of keywords currently maintained by
97 All times are given in Coordinated Universal Time (\*u,
98 sometimes called \&\s-1GMT\s0) by default, but if the files
102 option, times are given with a numeric time zone indication appended.
105 The login name of the user who checked in the revision.
108 The date and time the revision was checked in.
111 A standard header containing the full pathname of the \*r file, the
112 revision number, the date and time, the author, the state,
113 and the locker (if locked).
118 except that the \*r filename is without a path.
121 The login name of the user who locked the revision (empty if not locked).
124 The log message supplied during checkin.
127 purposes, this is equivalent to
131 The symbolic name used to check out the revision, if any.
134 The name of the \*r file without a path.
137 The revision number assigned to the revision.
140 The full pathname of the \*r file.
143 The state assigned to the revision with the
151 represents the following characters in keyword values by escape sequences
152 to keep keyword strings well-formed.
158 \f2char escape sequence\fP
167 Author: Walter F. Tichy.
169 Manual Page Revision: \*(Rv; Release Date: \*(Dt.
171 Copyright \(co 1982, 1988, 1989 Walter F. Tichy.
173 Copyright \(co 1990, 1992, 1993 Paul Eggert.
175 ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
179 \*r\*-A System for Version Control,
180 .I "Software\*-Practice & Experience"
182 7 (July 1985), 637-654.