02.05.2013 Views

User Guide - MKS

User Guide - MKS

User Guide - MKS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6: Member Operations<br />

Locating<br />

Keywords<br />

Table of<br />

Keywords<br />

196<br />

Using the $Revision$ keyword to obtain the revision number of a file is<br />

one of the common applications of keywords. Other common applications<br />

include:<br />

The $Header$ keyword provides a one-line summary of useful<br />

information associated with a revision. Including this information in a<br />

comment makes the information available to anyone looking at the<br />

member.<br />

The $Log$ keyword supplies the same sort of information as<br />

$Header$ plus the revision description. The $Log$ keyword provides<br />

a complete list of changes that have been made to the member over<br />

time.<br />

NOTE<br />

The keyword format of $$ causes Source Integrity to replace<br />

between the first $ and the next $. If you use a keyword in the format<br />

$, Source Integrity continues to replace until it encounters another<br />

$. It is possible that Source Integrity may not encounter another $ until the file<br />

is checked out again. This type of keyword use returns results that are similar<br />

to logging.<br />

You can use the ident command in the command line interface to locate<br />

and display keywords (expanded or unexpanded) in one or more<br />

members. For more information about the ident command, see the<br />

Source Integrity Enterprise Edition CLI Reference <strong>Guide</strong> or the online man<br />

pages.<br />

This command displays the name of each member that contains keywords,<br />

as well as the keywords themselves. This provides an easy way to extract<br />

identification information from source files, as well as compiled object<br />

files.<br />

Source Integrity maintains several keywords that can be used in working<br />

files. Keywords are case-sensitive.<br />

Your administrator may create custom keywords. For information on<br />

using custom keywords contact your administrator.<br />

u s e r g u i d e

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!