On 6/4/07, Hannah Schroeter <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> On Mon, Jun 04, 2007 at 06:54:20PM +0200, Tom Van Looy wrote:
> >I think this is also correct:
>
> >find . -name '*.htm' -exec cp '{}' '{}'.new \; \
> >-exec sed -i s/old/new/ '{}'.new \;
>
> I don't see any -i option documented in the sed manpage.
>
>
I believe the -i option is only available in gnu sed. It stands for
"in-place" which means it modifies the original file. You can specify an
extension for a backup file to preserve the original content.


Terry

Reply via email to