bug-cvs
[Top][All Lists]
Advanced

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

sccs2rcs.csh


From: Thomas Maeder
Subject: sccs2rcs.csh
Date: Tue, 12 Dec 2000 10:53:26 +0100

I am using the script to convert an SCCS revision controlled project to
CVS. I have found and fixed a bug in the Y2k workaround:

jeeves:/home/maeder.95 % diff bin/sccs2rcs sccs2rcs.csh 
179a180
>       set date = `sccs prs -r$rev $file | grep "^D " | awk '{printf("19%s 
> %s", $3, $4);
exit}'`
183c184
<               set date = `echo $date | sed -e s/19/20/`
---
>               set date = `sccs prs -r$rev $file | grep "^D " | awk 
> '{printf("20%s %s", $3,
$4); exit}'`
185d185
<         set date = `sccs prs -r$rev $file | grep "^D " | awk
'{printf("19%s %s", $3, $4); exit}'`

Thomas



reply via email to

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