[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When would awk issue a warning message about invalid options?
From: |
arnold |
Subject: |
Re: When would awk issue a warning message about invalid options? |
Date: |
Mon, 05 Oct 2020 12:07:15 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
> 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?
-P enables strict POSIX compliance where unknown options become errors.
Gawk chooses in this case to issue a warning instead of failing.
Thanks,
Arnold