Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
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).