Subject: Re: pkg/33410: pkgsrc problem with posix awk
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 05/06/2006 08:15:04
The following reply was made to PR pkg/33410; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/33410: pkgsrc problem with posix awk
Date: Sat, 6 May 2006 10:13:31 +0200
On Tue, May 02, 2006 at 09:30:05PM +0000, Roland Illig wrote:
> And I prefer to do things right. Other implementations of awk may just
> continue without warning (the OpenGroup's web site is badly formatted,
> but I think it states undefined behavior for invalid programs), and can
> you tell what they do?
The behaviour of this programs is actually quite well defined. the
backslash escaping is not *necessary* in this situations, but it doesn't
really hurt either.
> In particular the second warning should alert you. Although the author
> probably meant to escape the dot, it is not treated as such.
No, it meant that it is not needed in this context.
Joerg