I am writing some rather simple scripts into an autoconfiguration file
which downloads a directory subtree from a CVS library repository. The
problem I am having is to strip the library name from the qualified
subdirectory name. IE, I want to integrate and move source around into
a new project, but want to automate updating the source tree from CVS.
e.g.:
cvs -z3
-d:pserver:
anonymous@cvs.spirit.sourceforge.net:/cvsroot/spirit co -P
spirit/boost
cvs -z3
-d:pserver:
anonymous@cvs.spirit.sourceforge.net:/cvsroot/spirit co -P
spirit/libs
puts the files in ./spirit/boost and ./spirit/libs and I want to put the
files in ./boost and ./libs...
I skimmed the man pages but found no options that looked promising.
Anybody know how to do this?
EBo --