On 25/07/2026 18:54, Collin Funk wrote:
The attached patch should fix the issue. We were treating "-o" and "-a"
as if they could be unary operators, which they cannot be. They are
either a string operand or a binary operator.

Will push it in a bit.

Very nice. This now matches behavior of bash and dash at least.
One nit on the NEWS, I was a bit confused at the double mention
of binary operators, when perhaps unary was more accurate.
Therefore it might be best to simplify the first line to:

  'test' no longer treats '-a' and '-o' as operators when given as
thanks!
Padraig



Reply via email to