bug#33097: test has filetest -a but man page doesn't list it
From:
Bernhard Voelker
Subject:
bug#33097: test has filetest -a but man page doesn't list it
Date:
Mon, 22 Oct 2018 01:06:49 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
On 10/21/18 2:09 AM, Paul Eggert wrote:
> I have the opposite impression. Any scripts using this confusing -a operator
> are
> already broken, and we should phase it out. Not that anybody actually *uses*
> coreutils "test -a".
Done with the attached 1st patch.
The 2nd patch is a cleanup avoiding the redundant checking of unary operators
in test_unop and unary_operator.
The 3rd patch adds support for 'test -N FILE' as in bash.
Please check (on various platforms / file systems if possible).
Thanks & have a nice day,
Berny