This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] GCC bootstrap failure on cygwin is gawk 3.1.2 bug!
- From: Roger Sayle <roger at eyesopen dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, Aharon Robbins <arnold at skeeve dot com>
- Date: Tue, 17 Jun 2003 06:48:38 -0600 (MDT)
- Subject: 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
--