Re: [libvirt PATCH 01/12] syntax-check: Drop the shell's 'check for minus' rule

2023-09-18 Thread Daniel P . Berrangé
On Mon, Sep 18, 2023 at 12:22:37PM +0200, Erik Skultety wrote: > Apparently we've only had it because the -[ao] options weren't portable > at the time, but according to > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html > > both are defined in POSIX.1-2017 revision which is

[libvirt PATCH 01/12] syntax-check: Drop the shell's 'check for minus' rule

2023-09-18 Thread Erik Skultety
Apparently we've only had it because the -[ao] options weren't portable at the time, but according to https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html both are defined in POSIX.1-2017 revision which is old enough for all our supported platforms to have adopted it already.