Thread
:
unix sed
View Single Post
04-03-2005, 05:32 AM
Zester
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
Quote:
Originally Posted by
SMG
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
ok that works
but isn't there a way to do it with the temporarly file?
__________________
*
Mainstream ?
$65 per sale
*
new male contraception
Zester
View Public Profile
Find More Posts by Zester