| Version Management with CVS - the CVS manual by Per Cederqvist et al. Paperback (6"x9"), 216 pages, 8 figures ISBN 0954161718 RRP £19.95 ($29.95) |
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’ to turn off keyword substitution entirely, as described in the next section.
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.
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |