Thread
:
unix sed
View Single Post
04-03-2005, 05:26 AM
SMG
Confirmed User
Join Date: Aug 2003
Posts: 1,798
Quote:
Originally Posted by
Zester
ok
than change it to this:
sed -e 's/cat/dog/g' 1.html
isnt that the same as what you typed?
I usually do
sed -e 's/cat/dog/g' 1.html > 1.html.tmp && cp -f 1.html.tmp > 1.html && rm -f 1.html.tmp
__________________
TGP Webmasters: sign up for the top 100 tgp list!
Submit galleries
If you add me to icq (title) make sure to mention GFY or I'll think you're a bot and deny you.
SMG
View Public Profile
Visit SMG's homepage!
Find More Posts by SMG