Hi!

I wrote a script, and am trying it on many systems. On RHEL8, which has bash 4, it didn't work. I could reduce the problem to the following command, which never returns true:

    test -v 1;

In Debian Sid, where I develop, and where I have bash 5, that works fine, and is true if the function or script in which it is has any arguments. On zsh(1) it also works fine.

Is this a known bug in bash?
The exact version where I can reproduce it is 4.4.20(1)-release (x86_64-redhat-linux-gnu).

Cheers,

Alex


--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to