How about using sed to instead:
sed ’s:find:replace:g’ -i file.name(s)
‘-i’ tells sed to make the edits ‘in-place’.
Thank you for the information.
I’ve used sed before and it does look a more clean command to use.
At the time I needed to use it the knowledge of sed eluded me.
It appears the version of sed installed on macs is lame. I think I’ll stick with the PERL at least that works first time every time.
Great tool!
Name (required)
Mail (will not be published) (required)
Website
February 27th, 2011 at 9:09 pm
How about using sed to instead:
sed ’s:find:replace:g’ -i file.name(s)
‘-i’ tells sed to make the edits ‘in-place’.
March 1st, 2011 at 6:34 pm
Thank you for the information.
I’ve used sed before and it does look a more clean command to use.
At the time I needed to use it the knowledge of sed eluded me.
March 5th, 2011 at 8:53 pm
It appears the version of sed installed on macs is lame. I think I’ll stick with the PERL at least that works first time every time.
March 25th, 2011 at 11:05 pm
Great tool!