🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72959

Re: Problems with rcs...

#72959
From: Chris Flatters,208,7209,homephon...
Date: Wed, 20 Nov 1991 20:48
27 lines
2039 bytes
In article 450@fawlty.towers.oz.au, stuart@fawlty.towers.oz.au (Stuart Walker) writes:
>We seem to have found a bug with rcs.  Whenever we try to save a source file
>with the suffix ".rc", corruptions occur within the comments section at the
>beginning of the file...
[Examples deleted]

>It appears that ".rc" has some special meaning within rcs that I'm not aware of.
>Anyone got any ideas ??

RCS recognizes a number of file suffixes that are conventionally used
to denote different types of file contents and sets the default comment
leader according to its expectations.  .rc may or may not be recognized:
if it is, I would expect the comment leader to default to '# ' as in the
second example --- several Unix commands initialize themselves using
commands from a file ending with the letters rc (eg. mailrc) and such
files often use a shell-like syntax.

The solution is to set the comment leader explicitly using the -c option
to the rcs command.  You can do this immediately after the first check-in
or create the file with rcs -i before the first check-in.  

======================================================================
Chris Flatters                  |  cflatter@nrao.edu
AIPS Scientific Programmer      |
======================================================================
Opinions expressed in this message do not necessarily reflect NRAO
policy.
Technical Details
Message-ID: <1991Nov20.204800.28851@nrao.edu>
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!wupost!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
References: <1991Nov20.050131.450@fawlty.towers.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,ade58ffc49ffd999
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-11-20 14:22:57 PST
Path: arc1-ca.pugleaf.net!gmdzi!ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!wupost!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
From: cflatter@nrao.edu (Chris Flatters,208,7209,homephone)
Newsgroups: gnu.misc.discuss
Subject: Re: Problems with rcs...
Message-ID: <1991Nov20.204800.28851@nrao.edu>
Date: 20 Nov 91 20:48:00 GMT
References: <1991Nov20.050131.450@fawlty.towers.oz.au>
Sender: news@nrao.edu
Reply-To: cflatter@nrao.edu
Organization: NRAO
Lines: 27