[plug] RCS unix file attributes

Harry harrymc at decisions-and-designs.com.au
Sat Apr 10 18:43:38 WST 2004


Dear PLUGers

I'm stumped trying to remember (or google) the rcs command to make an RCS
file have Unix EOL. When I
co -l
an archived .c file it has CR added to the lines. While I can just
:1,$s/\r//g
each time, the proper fix is to give the RCS file attributes so ci and co
treat it as a unix file.

I've been using ed4w on Winders and rcs from Cygwin for a while and so
the MS-DOS cr/lf went unnoticed.   

If someone can tell me why debian rcs has the MS-DOS file type by default
(and how to configure it as unix) that'd help my frustration .. a bit :-)

cu
Harry

-- 
Are you a computer angel?	http://www.computerangels.org.au/



More information about the plug mailing list