Next: [[cvs: Substitution modes#Substitution modes|Substitution modes]], Previous: [[cvs: Using keywords#Using keywords|Using keywords]], Up: [[cvs: Keyword substitution#Keyword substitution|Keyword substitution]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|

----

=== 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 [[cvs: Substitution modes#Substitution modes|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<nowiki>{</nowiki><nowiki>}</nowiki>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 [[cvs: Configuring Keyord Expansion#Configuring Keyord Expansion|Configuring keyword expansion]] for more details. This feature is intended primarily for use with the `LocalKeyword` option–see [[cvs: Keyword List#Keyword List|Keyword list]].

This document was generated on a sunny day using [http://www.nongnu.org/texi2html/ texi2html].