[wplug] Escaping ; in script question

Russ Schneider russpgh at stargate.net
Tue Jun 10 10:54:54 EDT 2003


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




More information about the wplug mailing list