1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
mksh (50-1) unstable; urgency=medium
The right-hand side of “nameref” (typeset -n) expressions
is now checked for validity. (Although, this is only fixed
for positional parameters and other special variables in
mksh 50b-1.)
The “arr=([index]=value)” syntax is gone because of severe
bugs in its implementation and regressions in other places.
It will eventually be brought back, but not right now. Use
of “set -A arr -- [index]=value” has not been historically
supported by ksh and will not be brought back in mksh either.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 03 Sep 2014 22:22:44 +0200
mksh (46-2) unstable; urgency=low
The mksh and mksh-static binaries no longer come with the
limited printf(1) builtin which was only added to please
a maintainer who likes to use printf while not having
/usr/bin in their script PATH. It was added to lksh, which
uses more POSIX-like arithmetics but lacks interactive
command line editing features (dash does so, too).
For this reason it’s recommended to use lksh instead of
mksh or mksh-static as /bin/sh (unless you don’t install
udev) and keep mksh around for interactive tasks (initrd
should still use mksh-static exclusively and just provide
printf(1) in /bin instead); lksh is statically linked on
platforms providing a libc that supports this use case
well and is not glibc/eglibc.
$ sudo ln -sf lksh /bin/sh
is the correct command to use for applying this change.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 22 May 2013 19:25:38 +0000
mksh (40.4-1~bpo50+1) lenny-backports-sloppy; urgency=medium
The debconf magic for automatically installing /bin/mksh as
/bin/sh is gone. If you want to do that, set the symlink in
/bin/sh and /usr/share/man/man1/sh.1.gz yourself, as root.
Be aware that only the latest mksh versions can safely be
used as /bin/sh since in the past after many uploads issues
regarding bugs or assumptuous maintainer or init scripts of
other packages have been found which need to be addressed
by updates of the mksh package.
-- Thorsten Glaser <tg@mirbsd.de> Sat, 17 Dec 2011 21:45:04 +0000
|