NetBSD-Bugs archive

[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." <>
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, wrote:
 > Synopsis: harmful AWK extension: non-portable escaped character
 > State-Changed-From-To: open->closed
 > State-Changed-By:
 > State-Changed-When: Wed, 23 Jul 2008 11:18:15 -0400
 > State-Changed-Why:
 > The patch has been applied. Now awk produces the same warnings other  
 > awk
 > implementations, and awk programmers can either fix their code or live
 > with the warnings. Another option is to add a command line warning  
 > flag,
 > 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.

Home | Main Index | Thread Index | Old Index