table of contents
other versions
- wheezy 5.8.1-1
- wheezy-backports 5.9.3-1~bpo70+1
- jessie 5.9.3-1
- testing 5.9.4-3
- unstable 5.9.4-3
other sections
IDENT(1) | General Commands Manual | IDENT(1) |
NAME¶
ident - identify RCS keyword strings in filesSYNOPSIS¶
ident [ -q ] [ -V ] [ file ... ]DESCRIPTION¶
ident searches for all instances of the pattern $keyword: text $ in the named files or, if no files are named, the standard input. These patterns are normally inserted automatically by the RCS command co(1), but can also be inserted manually. The option -q suppresses the warning given if there are no patterns in a file. The option -V prints RCS's version number. ident works on text files as well as object files and dumps. For example, if the C program in f.c contains- #include <stdio.h>
"$Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $";
- ident f.c f.o
-
f.c: $Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $ f.o: $Id: f.c,v 5.4 1993/11/09 17:40:15 eggert Exp $
KEYWORDS¶
Here is the list of keywords currently maintained by co(1). All times are given in Coordinated Universal Time (UTC, sometimes called GMT) by default, but if the files were checked out with co's -zzone option, times are given with a numeric time zone indication appended.- $Author$
- The login name of the user who checked in the revision.
- $Date$
- The date and time the revision was checked in.
- $Header$
- A standard header containing the full RCS file name, the revision number, the date and time, the author, the state, and the locker (if locked).
- $Id$
- Same as $Header$, except that the RCS file name is without directory components.
- $Locker$
- The login name of the user who locked the revision (empty if not locked).
- $Log$
- The log message supplied during checkin. For ident's purposes, this is equivalent to $RCSfile$.
- $Name$
- The symbolic name used to check out the revision, if any.
- $RCSfile$
- The RCS file name without directory components.
- $Revision$
- The revision number assigned to the revision.
- $Source$
- The full RCS file name.
char escape sequence tab \t newline \n space \040 $ \044 \ \\
IDENTIFICATION¶
Author: Walter F. Tichy.SEE ALSO¶
ci(1), co(1), rcs(1), rcsdiff(1), rcsmerge(1), rlog(1), rcsfile(5). Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654.2012-06-06 | GNU RCS 5.8.1 |