[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.3 Avoiding substitution

Keyword substitution has its disadvantages. Sometimes you might want the literal text string `$Author$' to appear inside a file without CVS interpreting it as a keyword and expanding it into something like `$Author: ceder $'.

There is unfortunately no way to selectively turn off keyword substitution. You can use `-ko' (see section Substitution modes) to turn off keyword substitution entirely.

In many cases you can avoid using keywords in the source, even though they appear in the final product. For example, the source for this manual contains `$@asis{}Author$' whenever the text `$Author$' should appear. In nroff and troff you can embed the null-character \& inside the keyword for a similar effect.

It is also possible to specify an explicit list of keywords to include or exclude using the KeywordExpand option in the `CVSROOT/config' file-see Configuring Keyword Expansion for more details. This feature is intended primarily for use with the LocalKeyword option-see Keyword List.


This document was generated on September, 14 2007 using texi2html 1.76.