non-portable construct in gcc configure script
Bonzini
bonzini@gnu.org
Wed Jun 4 08:51:00 GMT 2003
> > 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
|_ _ _ __
|_)(_)| ),'
------- '---
More information about the Gcc
mailing list