[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Linter verbosity and POSIX & traditional AWK modes
From: |
arnold |
Subject: |
Re: [bug-gawk] Linter verbosity and POSIX & traditional AWK modes |
Date: |
Tue, 08 Nov 2016 13:50:35 -0700 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi.
The general idea is that --lint warns about everything that isn't
portable or standard.
If you wish to submit patches that make --lint more particular
about what it reports, I'll be happy to review them.
Thanks,
Arnold
Eric Pruitt <address@hidden> wrote:
> I was wondering if there was any particular reason the --lint option
> warns about non-POSIX and GNU extensions when neither traditional nor
> POSIX mode are explicitly set. Personally, if I'm not using
> --traditional, --posix or POSIXLY_CORRECT, I don't care whether or not
> I'm using extensions: the GNU extensions are why I use gawk over other
> implementations. If I'm writing a script that I want to be portable, I
> set --posix, and only then do I want to see warnings about non-standard
> features.
>
> If this has been discussed previously, please feel free to point me to
> the past discussions. I was unable to find any using the archive's
> search feature or using a web search engine.
>
> Thanks,
> Eric