Subject: Bug in rcs manual: a good laugh
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 04/04/1994 23:59:11
I was just reading through the RCS manual in /usr/share/doc/ps1/13.rcs,
and got a little confused when I got to this section:

          Automatic Identification

               RCS  can  put  special  strings for identification into
          your source and object code. To obtain such  identification,
          place the marker

               $Header: /b/source/CVS/src/share/doc/ps1/13.rcs/rcs.ms,v 1.1.1.1 1993/03/21 09:48:22 cgd Exp $

[at this point, I'm thinking: Don't they mean "$Header$"??]

          into  your  text,  for  instance inside a comment.  RCS will
          replace this marker with a string of the form

               $Header: /b/source/CVS/src/share/doc/ps1/13.rcs/rcs.ms,v 1.1.1.1 1993/03/21 09:48:22 cgd Exp $

[hey, they're the same thing!]

          You never need to touch this string, because RCS keeps it up
          to  date  automatically.   To propagate the marker into your
          object code, simply put it into a literal character  string.
          In C, this is done as follows:

               static char rcsid[] = "$Header: /b/source/CVS/src/share/doc/ps1/13.rcs/rcs.ms,v 1.1.1.1 1993/03/21 09:48:22 cgd Exp $";

[this is getting damn peculiar]

Then suddenly, it hits me.  *ROTFL*

Umm, maybe we should use a difficult kind of substitution for this file.
:-)
	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------