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."
- PHP3 and PHP4 r00t the LiNuXeRRR
- CBQ... r00t the LiNuXeRRR
- Replace STRING in a file ... r00t the LiNuXeRRR
- Re: Replace STRING in a fi... Marisa Mack
- Re: Replace STRING in ... Marisa Mack
- Re: Replace STRING in a fi... Juan Pablo Sales ( Juanaurinegro )
- 405 Method Not Allowed r00t the LiNuXeRRR
- MySQL-bench PROBLEM ..... r00t the LiNuXeRRR
- Re: MySQL-bench P... Tony Nugent
- Why "tripwir... r00t the LiNuXeRRR
- Re: Why "... Roland H�der
- CD-ROM proble... r00t the LiNuXeRRR
- Re: CD-RO... ksemat
- PROBLEMS ... r00t the LiNuXeRRR
