[sword-devel] Automated Shell Script
David Burry
sword-devel@crosswire.org
Thu, 07 Dec 2000 11:47:42 -0800
You need to escape your escapes, or escape your escapes of your escapes, etc... i.e. a double or quadruple backslash... Just start adding backslashes until it works.
Dave
At 12:58 AM 12/7/2000 -0500, you wrote:
>Hey Everyone,
>
> A couple weeks ago I sent in a question about how I could replace a
>string of texts in a whole bunch of files at once. I was given the following
>as a way to do it:
>
>grep -l "the sun is green" *.html|xargs perl -p -i -e s/"the sun is
>green"/"the sun is yellow"/g
>
>Anyways the problem I found was when I was trying to update a string of text:
>Site Updated 11/29/00 to Site Updated 12/6/00 I was unable to do it sense the
>back slash is used in the syntax of the command. Is there anyway I can get
>around this so that it just reads it as the character "/" in the file, so
>that I can easy change these values. Thanks for your time.
>
>-Jonathan
>BJW7TOAEM@aol.com