This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

|_  _  _ __
|_)(_)| ),'
------- '---


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]