help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sccs2rcs


From: Colin Brough
Subject: Re: sccs2rcs
Date: Wed, 15 May 2002 22:14:04 +0100

I had a look on my system and, for some unknown reason, have 2 copies
of sccs2rcs. Slightly different from each other! Diff reveals the
following, which may be of use!!

180c180,186
<         set date = `sccs prs -r$rev $file | grep "^D " | awk '{printf("19%s 
%s", $3, $4); exit}'`
---
>       set year = `echo $date | cut -c3-4`
>       if ($year < 70) then
>               # Y2K Bug, change century to 20
>               set date = `sccs prs -r$rev $file | grep "^D " | awk 
> '{printf("20%s %s", $3, $4); exit}'`
>       else
>               set date = `sccs prs -r$rev $file | grep "^D " | awk 
> '{printf("19%s %s", $3, $4); exit}'`
>       endif

Does that give you enough to go on?

Cheers

Colin

----------------------------------------------------------------------
Colin Brough                               address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]