Hayes, Ted writes:
>
> The "Y2K patch" added to the lib/cvs/contrib/sccs2rcs script (sccs2rcs.in in
> 1.11.1p1) doesn't look too convincing - it seems to try to use the "date"
> shell variable before it has been set. I believe the "sccs prs" command has
> to be run first defaulting the century to (say) 1900 - then the year
> processing can be carried out subsequently. My adjusted v1.11 sccs2rcs
> contains the commands:
I thought I had already fixed that, but I guess not. I've just checked
in a much simpler fix (if you're going to use awk, you might as well
*use* it):
set date = `sccs prs -r$rev $file | awk '/^D / {if (substr($3,0,2)+0 < 70)
print "20" $3, $4; else print "19" $3, $4; exit}'`
-Larry Jones
It's a Doofus Ignoramus! Our hero slowly reaches for his stun blaster!
-- Calvin
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs