Package: mksh
Version: 38.3-1
Severity: normal
mkdir tmp
mksh tmp
=> No error messages, no status code $? to signify an error.
Please signal an error and terminate on non-zero exit code.
An example from Bash:
bash tmp
tmp/: tmp/: is a directory
C.f. This bug was found from other shells as well (posh, dash). See
e.g. how posh fixed it in version 0.8
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548688
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mksh depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii libbsd0 0.1.6-1 utility functions from BSD systems
ii libc6 2.9-25 GNU C Library: Shared libraries
mksh recommends no packages.
Versions of packages mksh suggests:
ii ed 1.4-1 The classic UNIX line editor
-- debconf information excluded
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]