Package: ksh93u+m Version: 1.0.8-1 Severity: normal $ test ! = -o a ; echo $? 0
while I get 1 with dash 0.5.12-6, mksh 59c-35, bash 5.2.21-2, coreutils 9.4-3.1 and zsh 5.9-6. POSIX[*] says for 4 arguments: If $1 is '!', negate the three-argument test of $2, $3, and $4. Even with ksh93: $ test = -o a ; echo $? 0 and negated, this would be 1. [*] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ksh93u+m depends on: ii libc6 2.37-15.1 ksh93u+m recommends no packages. Versions of packages ksh93u+m suggests: pn binfmt-support <none> -- no debconf information -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)