> I knew this command awhile ago. But the damned spiders
> that eat away at my brain have stolen the infomation again.
>
> in file "myfile"
> I want to replace all the occurances of string "bob" with
> string "tom"
>
> I thought there was an easy command for this
> but i cant seem to find it in the little
> books on my table
> I need bigger books
Ok, you got me, I was on my way out the door ,but:
sed -e 's/bob/tom/g' -o myfile myfile
if your sed complains about -o, use
sed -e 's/bob/tom/g' myfile > myfile.t
mv myfile.t myfile
_____________________ _ _ _________________________
Michael Rice |_| Collective |_| http://www.colltech.com
[EMAIL PROTECTED] |_ technologies _| 512 263 5500 voice
512 342 6301 Motorola [] [] "The Power Of Many Minds"
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]