Begin forwarded message:
From: Jeff Hobbs <[EMAIL PROTECTED]>
Date: 13. Mai 2006 17:47:11 MESZ
To: Andreas Kupries <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [TCLCORE] script to correct CVS/Root for new SF structure
Andreas Kupries wrote:
You can find a script that modifies the CVS/Root files in a
directory tree at:
ftp://ftp.tcl.tk/pub/incoming/fixcvsroot.tcl
Andreas found a corner case not handled ...
Ok ... My CVS/Root had a trailing newline and your regexp allowed
this
to slip into the 'proj variable. A simple [string trim] is
sufficient to
get rid of it.
if {[regexp {([EMAIL PROTECTED])@cvs.sourceforge.net:/cvsroot/(.+)\n} $data
\
-> user proj]} {
*** set proj [string trim $proj]
set new [EMAIL PROTECTED]:/cvsroot/$proj
I have fixed the script at the ftp location.
Jeff
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tcl-Core mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tcl-core