Closed
Description
The build-in should error out if a non-portable operator is used when the POSIXly-correct mode is on. Currently, the built-in accepts all supported operators regardless of mode.
In POSIX.1-2024, the -a
and -o
binary operators and parentheses ((
and )
) are no longer required. They should also be rejected in the POSIX mode.