This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: non-portable construct in gcc configure script
- From: "Bonzini" <bonzini at gnu dot org>
- To: <gcc at gcc dot gnu dot org>,<ebotcazou at libertysurf dot fr>,<zack at codesourcery dot com>,<jbuck at synopsis dot com>
- Date: Wed, 4 Jun 2003 09:29:14 +0200
- Subject: Re: non-portable construct in gcc configure script
> > Odd, ; as separator works fine for me with /usr/bin/sed on Solaris 8.
> > However, this is tangential.
>
> Hum, you're right, your construct works on Solaris 2.5.1, 2.6 and 9 too.
> I probably messed up the expression within the curly brackets.
A very crippled sed is HP/UX's; semicolons inside -e might not work
there. It is portable and simple to rewrite the command as
sed -e '/myfoosect/!d' -e N
|_ _ _ __
|_)(_)| ),'
------- '---