would something like...

sed -e 's/oldtext/newtext/g' < $i > $i.new

...work?

-marisa

On Tue, Jun 13, 2000 at 09:17:07PM +0300, linux sed:
> 
> Hy all,
> 
> How can i replace a string in a file (without editing :) )?
> 
> Thanx, Cosmin

-- 

"Physics is not a religion. If it were, 
we'd have a much easier time raising money."

Reply via email to