[wplug] Escaping ; in script question
Mike Griffin
mike at dmrnetworks.com
Tue Jun 10 11:39:05 EDT 2003
The backslash ( \ ) character escapes
On Tuesday, June 10, 2003, at 10:54 AM, Russ Schneider wrote:
> In the following script:
>
> for FILE in `grep -r -s -l copy backup` ; do
> cp $FILE $FILE.new
> sed s#copy; 2002#copy; 2002-2003#g $FILE.new > $FILE
> rm $FILE.new
> done
>
> the process gets choked up because it things the ; in my search and
> replace is seperating commands.
>
> How do I escape the ;?
>
>
>
>
> --
> ___________________________________
> Russ Schneider (a.k.a. Sugapablo)
> http://www.sugapablo.com
>
> Latest Single: http://candidate.zhrodague.net/Sugapablo-Waters.ogg
>
> Latest CD (MP3):
> http://candidate.zhrodague.net/Sugapablo-Live-06-02-2003.zip
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
>
More information about the wplug
mailing list