This is a good idea, but within the sccs2rcs script it creates a RCS and an
OLD-SCCS directory. The sccs2rcs script automatically assumes that all my
old sccs files are going to be in one flat folder and no subdirectories.
Conseqently in each folder if it does not find an RCS or OLD-SCCS directory
it creates these folders in which the "find" goes into and then it creates
the folders again, thus causing a never ending recursive loop.
My next idea was to edit the CSH script so that it does not create these
folders and simply converts the file. The perl script wrapped around it
will do all of the directory making and file moving from the SCCS folder to
the RCS folder.
My question being, is there an easy way to traverse down a directory in
perl, or do I need to create this script from scratch?
On Mon, Feb 23, 2004 at 04:21:04PM +0000, Ben Coffman wrote:
> Is idea within reason?
Sounds reasonable to me, but a simpler method seems like it would be to
use find since you get recursion into directories for free:
"find /path/to/SCCS/repository -type d -exec sccs2rcs --arguments \{} \;"
(or however you need to call sccs2rcs)
See also find(1) for more details.
_________________________________________________________________
Store more e-mails with MSN Hotmail Extra Storage 4 plans to choose from!
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss