From: Zoran V. <zv...@ar...> - 2006-05-13 16:25:30
|
Begin forwarded message: > From: Jeff Hobbs <je...@ac...> > Date: 13. Mai 2006 17:47:11 MESZ > To: Andreas Kupries <aku...@sh...> > Cc: tcl...@li... > 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 {([^@]+)@cvs.sourceforge.net:/cvsroot/(.+)\n} $data \ >> -> user proj]} { >> *** set proj [string trim $proj] >> set new $user@$proj.cvs.sourceforge.net:/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 > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core |