Death of RCS

Date: Fri, 29 Oct 1999 14:43:23 -0300
From: bobadams@ns.sympatico.ca (Bob Adams)
To: Edward Dyer <aa146@chebucto.ns.ca>
CC: Michael Smith <michael@csuite.ns.ca>, Information Provider Committee <ccn-ip@chebucto.ns.ca>, CCN Tech <ccn-tech@chebucto.ns.ca>
References: <Pine.GSO.3.95.iB1.0.991029124011.25997A-100000@halifax.chebucto.ns.ca>
Precedence: bulk
Return-Path: <ccn-ip-mml-owner@chebucto.ns.ca>

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
Ed, here are the header lines of a file I just uploaded
<link rev="made" href="mailto:ip-ciau@chebucto.ns.ca">
<!-- hockey9900.html,v 1.61 1999/10/29 `16:42:41 ac200 -->

Everything seems in order.
...and no [[[shudder]]] tilde files to clutter the FTP display.

This is the page heading and a line to alert people the file has been updated
with something new since the last date/time they noted.
               CIAU Mens Hockey 1999/2000 
        Last saved: 1999/10/29 16:42:41 GMT by ac200
 The date stamp uses:
        Last saved: $Date: $ GMT by $Author: $ 
Does either of you know off hand how I can change this code to display Atlantic
time. Also, is there a day-of-week $ code? 

Bob Adams

Edward Dyer wrote:
> 
> On Thu, 28 Oct 1999, Michael Smith wrote:
> 
> > I think the tilde files served as a backup in case a copy failed
> > somewhere. I've added a line to remove them. They're not so much created
> > as they are the target of a rename,
> >
> >         cat "$file" >>tmp$$ &&
> >           mv -f "$file" "$file~" &&
> >             cp tmp$$ "$file" &&
> >               rm -f tmp$$ "$file~"
> >
> > The edited file gets appended to tmp$$ which holds the <link rev...> and
> > <!-- $RCSfile$...--> lines. The old file is moved to file~, the new file
> > is copied in and the temporary files are removed.
> 
> Thanks Michael!
> 
> I assume that the description above is not actual code, but just the
> pseudocode for what is being done...  Somehow there is (or used to
> be, and should still be) provision _NOT_ to replace the link rev if
> it already exists in the document [header..?], and to _ALWAYS_
> replace the RCSfile data with current data.
> 
> If any changes are being made it would be nice to make sure those
> parts were both placed inside the <HEAD> section of the file if
> such a section exists, so as to prevent HTML lint tools from
> alarming, as they do now :-(  But I suppose that's a bigger job!
> 
> Ed Dyer aa146@chebucto.ns.ca   (902) H 826-7496  CCN Postmaster
> http://www.chebucto.ns.ca/~aa146/    W 426-4894  CSuite Technical Workshop
> Religion Page Editor, Chebucto Community Network http://www.chebucto.ns.ca

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects