[sword-devel] Automated Shell Script

Paul Dean sword-devel@crosswire.org
16 Nov 2000 16:33:55 +0000


"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/