The Vertical Sky Software Manager User Guide - MKS
The Vertical Sky Software Manager User Guide - MKS
The Vertical Sky Software Manager User Guide - MKS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Locating<br />
Keywords<br />
For more information<br />
about the ident command,<br />
see <strong>Vertical</strong> <strong>Sky</strong> <strong>Software</strong><br />
<strong>Manager</strong> Reference or the<br />
online man pages.<br />
Using Keywords<br />
where value is the appropriate value of the keyword (in this case,<br />
the revision number).<br />
For example, including the statement<br />
char revnum[] = "$Revision$";<br />
in a C source file creates a character string named revnum<br />
containing the file’s revision number. <strong>The</strong> program can then be<br />
configured to display this string when it starts up, automatically<br />
presenting the current revision of the program’s source file.<br />
Using the $Revision$ keyword to obtain the revision number of a<br />
file is one of the common applications of keywords. Other common<br />
applications include:<br />
<strong>The</strong> $Header$ keyword provides a one-line summary of useful<br />
information associated with a revision. Including this<br />
information in a comment makes the information available to<br />
anyone looking at the member.<br />
<strong>The</strong> $Log$ keyword supplies the same sort of information as<br />
$Header$ plus the revision description. <strong>The</strong> $Log$ keyword<br />
provides a complete list of changes that have been made to the<br />
member over time.<br />
You can use the ident command in the command line interface to<br />
locate and display keywords (expanded or unexpanded) in one or<br />
more members.<br />
This command displays the name of each member that contains<br />
keywords, as well as the keywords themselves. This provides an<br />
easy way to extract identification information from source files, as<br />
well as compiled object files.<br />
> > > > > > > > > > > > 93