Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ident(1)
Edit
PageHistory
Diff
Info
LikePages
IDENT !!!IDENT NAME SYNOPSIS DESCRIPTION KEYWORDS IDENTIFICATION SEE ALSO ---- !!NAME ident - identify RCS keyword strings in files !!SYNOPSIS __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 __ident__'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 __ static char const rcsid[[] = int main() { return printf( and __f.c__ is compiled into __f.o__, then the command __ident f.c f.o__ will output __ 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 $ __If a C program defines a string like __rcsid__ above but does not use it, lint(1) may complain, and some C compilers will optimize away the string. The most reliable solution is to have the program use the __rcsid__ string, as shown in the example above. __ident__ finds all instances of the __$__''keyword''__:__ ''text'' __$__ pattern, even if ''keyword'' is not actually an RCS -supported keyword. This gives you information about nonstandard keywords like __$XConsortium$__. !!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 __-z__''zone'' 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 pathname of the RCS file, the revision number, the date and time, the author, the state, and the locker (if locked). __$Id$__ Same as __$Header$__, except that the RCS filename is without a path. __$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 name of the RCS file without a path. __$Revision$__ The revision number assigned to the revision. __$Source$__ The full pathname of the RCS file. __$State$__ The state assigned to the revision with the __-s__ option of rcs(1) or ci(1). co(1) represents the following characters in keyword values by escape sequences to keep keyword strings well-formed. ''char escape sequence ''tab __ t __newline __ n __space __ 040 $ 044 \ \ __ !!IDENTIFICATION Author: Walter F. Tichy. Manual Page Revision: 5.4; Release Date: 1993/11/09. Copyright 1982, 1988, 1989 Walter F. Tichy. Copyright 1990, 1992, 1993 Paul Eggert. !!SEE ALSO ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5) Walter F. Tichy, RCS --A System for Version Control, ''Software--Practice '' __15__, 7 (July 1985), 637-654. ----
10 pages link to
ident(1)
:
rcsmerge(1)
Man1i
ci(1)
co(1)
rcs(1)
rcsclean(1)
rcsdiff(1)
rcsfile(5)
rcsintro(1)
rlog(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.