[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/39002 (harmful AWK extension: non-portable escaped character)
The following reply was made to PR bin/39002; it has been noted by GNATS.
From: "Greg A. Woods; Planix, Inc." <woods%planix.ca@localhost>
Subject: Re: bin/39002 (harmful AWK extension: non-portable escaped character)
Date: Wed, 23 Jul 2008 12:14:23 -0400
On 23-Jul-08, at 11:18 AM, christos%netbsd.org@localhost wrote:
> Synopsis: harmful AWK extension: non-portable escaped character
> State-Changed-From-To: open->closed
> State-Changed-By: christos%NetBSD.org@localhost
> State-Changed-When: Wed, 23 Jul 2008 11:18:15 -0400
> The patch has been applied. Now awk produces the same warnings other
> implementations, and awk programmers can either fix their code or live
> with the warnings. Another option is to add a command line warning
> but I'd rather not, since it is easy to fix the code and it makes the
> scripts more portable.
The valid AWK code that now generates invalid warnings is not broken
and needs no warnings.
Other variations of awk do not implement the same language /bin/awk
A command line flag that was kind of like "lint -p" might be
appropriate for those people who want to support other AWK-like
Greg A. Woods; Planix, Inc.
Main Index |
Thread Index |