[Bf-committers] Re: CVS access; new protocol

GSR - FR famrom at infernal-iceberg.com
Fri Aug 20 19:39:45 CEST 2004


theeth at yahoo.com (2004-08-20 at 1014.11 -0700):
> 
> --- Ton Roosendaal <ton at blender.org> wrote:
> 
> > 3) run this evil perl line below on old checkouts:
> >     find . -type f -name "Root" | xargs perl -pi -e
> > 's/pserver/ext/g'
> 
> For non perl experts, what does that do?

First part finds files named Root starting at the current dir and
going into subdirs, then the result is passed to perl so it changes
all ocurrences of "pserver" in all lines into "ext". It is basic
regex, could be done in a similar way with sed.

GSR
 


More information about the Bf-committers mailing list