Your message dated Sun, 7 Jun 2026 17:18:07 +0530
with message-id <[email protected]>
and subject line Re: Bug#1068338: ksh93u+m: "test ! = -o a" exits with 0
instead of 1
has caused the Debian Bug report #1068338,
regarding ksh93u+m: "test ! = -o a" exits with 0 instead of 1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1068338: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068338
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]> - 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)
--- End Message ---
--- Begin Message ---
On Mon, May 26, 2025 at 02:56:41PM +0100, Martijn Dekker wrote:
> I've now given it a deeper reconsideration, but my conclusion was the same
> in the end: won't fix for native ksh93 mode, already fixed for POSIX mode
I'm closing this bug. Please reopen if you see any issues with the the
POSIX-mode behavior.
Thanks Martijn and Vincent,
Anuradha
--- End Message ---