|
| From: | Paul Eggert |
| Subject: | bug#69939: test utility bug: "test -a -a -a" and "test -o -o -o" fail |
| Date: | Fri, 15 Aug 2025 00:59:36 -0700 |
| User-agent: | Mozilla Thunderbird |
On 8/14/25 21:18, Collin Funk wrote:
Just adding here that POSIX.1-2024 removed the -a and -o operators [1]:
Austin Group Defect 1330 is applied, removing the obsolescent (and
optional) -a and -o binary primaries, and '(' and ')' operators.
So I don't think we should spend much time worrying about it.
Yes, as of POSIX.1-2024 the behavior of "test -a -a -a" is unspecified so coreutils "test" can now do whatever it likes. If someone really wanted to make it conform to older POSIX too I think we should accept a patch but it's low priority.
| [Prev in Thread] | Current Thread | [Next in Thread] |