Copyright (C) 2000-2012 |
Manpages IDENTSection: User Commands (1)Updated: 1993/11/09 Index Return to Main Contents NAMEident - identify RCS keyword strings in filesSYNOPSISident [ -q ] [ -V ] [ file ... ]DESCRIPTIONident 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
and f.c is compiled into f.o, then the command
will output
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$. KEYWORDSHere 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.
co(1) represents the following characters in keyword values by escape sequences to keep keyword strings well-formed.
IDENTIFICATIONAuthor: 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 ALSOci(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 & Experience 15, 7 (July 1985), 637-654.
IndexThis document was created by man2html, using the manual pages. Time: 22:47:33 GMT, April 25, 2024 |