[sword-devel] Automated Shell Script

sword-devel@crosswire.org sword-devel@crosswire.org
Thu, 16 Nov 2000 19:02:59 GMT


And of course, as the Perl documentaiton says, and is common to Unix/Linux,
"There is more than one way to do it."  A couple have been presented, and
others surely exist...  With a wider group, I am relatively sure we would
see an emacs solution.  ;-) 

Paul Dean writes:

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


--
   Darwin Gregory

   Jesus is the way, the truth and the life.
   Evolution is a myth...