Author Date Header Id Locker Log Revision RCSfile Source StateThese patterns are normally inserted automatically by the RCS command co(1L), but can also be inserted manually. The option -q suppresses the warning given if there are no patterns in a file.
Ident works on text files as well as object files and dumps. For example, if the C program in file f.c contains
char rcsid[] = "$Header: Header information $";and f.c is compiled into f.o, then the command
ident f.c f.o will print f.c: $Header: Header information $ f.o: $Header: Header information $
Revision Number: 1.2 ; Release Date: 89/05/02 .
Copyright © 1982, 1988, 1989 by Walter F. Tichy.
Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control System," in Proceedings of the 6th International Conference on Software Engineering, IEEE, Tokyo, Sept. 1982.