sed syntax

Dan Nicholson dbn.lists at gmail.com
Wed May 10 08:51:26 PDT 2006


On 5/10/06, Jeremy Huntwork <jhuntwork at linuxfromscratch.org> wrote:
>
> cp -v configure{,.orig}
> sed -e 's@/usr/include@/tools/include at g' configure
>
> Any reason why we're not doing it this way?

That would only output to stdout.  You need either -i or to redirect
the output, and you can't redirect the output onto itself.

--
Dan



More information about the cross-lfs mailing list