This is the mail archive of the gcc-patches@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: [PATCH] GCC bootstrap failure on cygwin is gawk 3.1.2 bug!


On Tue, 17 Jun 2003, Neil Booth wrote:
> Hmm; I'd like to keep the multiline format because there is other
> information to come later, like --help text.

Ok that makes sense.  Cool.

> Would using RS="^L" work like so?  Or does the \n after the ^L get
> in the way?

I'm not really a gawk/awk expert, but the gawk 3.1.2 bug only applies
to RS="", so the behaviour of RS="^L" should be the same as it is with
other awks.  i.e. if you can make a "RS=^L" solution work for on your
box, there should be no (fewer?) surprises elsewhere.

I've also confirmed that this bug has been fixed in the development
sources of gawk, so there shouldn't be a problem with the next
release, which I'm told "should happen sometime soon".  Many thanks
to Aharon for his rapid reply.

Roger
--


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