"Graham Daley" <gd@pinmail.com> writes: > grep -l "the sun is green" *.html|xargs perl -p -i -e s/"the sun is green"/"the sun is yellow"/g better to use sed though, I guess, 'cos *everyone* has sed, whereas only 99.99% have perl. -- Paul http://www.redeemed.org.uk/