pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/33410: pkgsrc problem with posix awk
The following reply was made to PR pkg/33410; it has been noted by GNATS.
From: Roland Illig <rillig%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/33410: pkgsrc problem with posix awk
Date: Tue, 02 May 2006 23:26:37 +0200
joerg%britannica.bec.de@localhost wrote:
> The following reply was made to PR pkg/33410; it has been noted by GNATS.
>
> From: joerg%britannica.bec.de@localhost
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/33410: pkgsrc problem with posix awk
> Date: Tue, 2 May 2006 13:26:07 +0200
>
> On Tue, May 02, 2006 at 11:20:03AM +0000, Aleksey Cheusov wrote:
> > Also note, that the following gawk warnings should also be fixed.
> >
> > awk: /srv/pkgsrc/pkgtools/x11-links/../../mk/plist/plist-info.awk:77:
> warning: escape sequence `\/' treated as plain `/'
> > awk: /srv/pkgsrc/pkgtools/x11-links/../../mk/plist/plist-info.awk:77:
> warning: escape sequence `\.' treated as plain `.'
>
> I prefer to ignore gawk and keep them, since the version is easier to
> read and correct.
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?
In particular the second warning should alert you. Although the author
probably meant to escape the dot, it is not treated as such.
Up to now, pkglint cannot not check standalone AWK programs, but I think
this feature will exist before the pkglint code reaches 500 kB in size.
And as soon as it can check AWK programs, it will tell you the same as I
do here.
Roland
Home |
Main Index |
Thread Index |
Old Index