HPlogo HP-UX Reference Volume 1 of 5 > i

ident(1)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

ident — identify files in RCS

SYNOPSIS

ident file ...

DESCRIPTION

ident searches the named files for all occurrences of the pattern $keyword:...$, where keyword is one of the following:

Author

Log

Date

Revision

Header

Source

Locker

State

These patterns are normally inserted automatically by the RCS co command, but can also be inserted manually (see co(1)).

ident works on text files as well as object files. For example, if the C program in file f.c contains:

char rcsid[] = "$Header: Header information $";

and f.c is compiled into f.o, the command:

ident f.c f.o

prints:

f.c: $Header: Header information $ f.o: $Header: Header information $

AUTHOR

ident was developed by Walter F. Tichy.

© Hewlett-Packard Development Company, L.P.