[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When would awk issue a warning message about invalid options?
From: |
Arkadiusz Drabczyk |
Subject: |
Re: When would awk issue a warning message about invalid options? |
Date: |
Mon, 5 Oct 2020 19:50:53 +0200 |
On Mon, Oct 05, 2020 at 05:30:15AM -0600, arnold@skeeve.com wrote:
> Arkadiusz Drabczyk <arkadiusz@drabczyk.org> wrote:
> >
> > Sorry, I read it a couple of times and still don't get it. From my
> > understanding, both -c and -P enable compatibility mode. If anything,
> > it's -P that does not enable a pure compatibility mode but something
> > close to it and hence awk -P ... shouldn't fall under `In
> > compatibility mode' category, not the other way around. Can you
> > explain it please?
>
> I don't know how to make it any clearer:
>
> This turns on compatibility mode, with the following additional
> restrictions:
>
> This says that all the restrictions of compatibility mode are in
> force, PLUS the additional restrictions in the following list.
> Thus, -P does also fall under compatibilty mode.
fine, that's my understanding as well. So if both -c and -P enable
compatibility mode why are warning messages about invalid options
issued only when -P is used?
--
Arkadiusz Drabczyk <arkadiusz@drabczyk.org>