found 421591 5.2.21-2
thanks

On Mon, 11 Feb 2008 13:20:25 +0100 Vincent Lefevre <[email protected]> wrote:
As a summary, the following test at least does not behave correctly:

vlefevre@vin:~$ test \( ! -e \) ; echo $?
bash: test: `)' expected
2

And I think this one is also buggy:

vlefevre@vin:~$ test true -a \( ! -a \) ; echo $?
bash: test: `)' expected
2

FYI, the coreutils and zsh test utility both output 1 on these tests;
so does dash on the second one only.

In bash 5.2.21-2 the first invocation behaves correctly:

    $ test \( ! -e \) ; echo $?
    1

but the second is still broken:

    test true -a \( ! -a \) ; echo $?
    -bash: test: `)' expected
    2

--
Gioele Barabucci

Reply via email to