Node: Keyword Substitution (RCS Keywords), Next: , Previous: Commands And Options, Up: CVS Reference



Keyword Substitution (RCS Keywords)

CVS はファイル中のテキスト置換を行うことができ、ファイル中のある種の情 報を自動的に最新に保てます。置換はすべてドルマークで括った特定のキーワ ードパターンにより起動されます。All of the substitutions are triggered by a certain keyword pattern, surrounded by dollar signs. たとえばファ イル中の

     $Revision$
     

は、こんな風に展開されます:

     $Revision: 1.5 $
     

新しいリビジョンがコミットされても CVS はリビジョン文字列を最新のもの に保ち続けます。