in reply to Large scale search and replace with perl -i

Just for reference. If you are using Windows and have G.pm installed you can do it like this:

perl -MG=R -pi.bak -e "s/foo/bar/g" *.html
The =R will tell G.pm to do the parameter globing recursively.

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature