sed syntax

Tushar Teredesai sukucorp at gmail.com
Wed May 10 08:50:32 PDT 2006


On 5/10/06, Jeremy Huntwork <jhuntwork at linuxfromscratch.org> wrote:
> we should be safe to sed the 'configure' file itself and shorten the
> command, ie:
>
> cp -v configure{,.orig}
> sed -e 's@/usr/include@/tools/include at g' configure
>

I think you meant sed -i. sed -e is more portable, -i is gnu sed
specific and only supported by gnu sed versions greater than 3(?).

--
Tushar Teredesai
   mailto:tushar at linuxfromscratch.org
   http://www.linuxfromscratch.org/~tushar/


More information about the cross-lfs mailing list