RHBA-2011:0580

Type: Bug fix
Severity: None
Published: 2011-05-19
Red Hat Enterprise Linux 6

The mksh package provides the MirBSD version of the Korn Shell which implements the ksh-88 programming language for both interactive and shell script use. This update fixes the following bugs: * Previously, mksh did not handle trace output correctly. Due to this problem, mksh aborted unexpectedly when the tracing was enabled and a long string was to be reported, This update improves the long trace output handling. Now, long trace output is successfully printed without interruption. (BZ#616771) * Previously, mksh did not handle aliases that contained aliases correctly. Due to this problem, mksh aborted when double aliases were used. This update corrects the alias handling code. Double aliases are handled as expected. (BZ#616777) * Previously, bad substitution could abort mksh unexpectedly because of a conflict between acceptable code for ksh-88 and ksh-93. This update recognizes both code types and prints errors as expected. (BZ#618274) This update also adds the following enhancement: * Previously, users had to change the shebang in their ksh-88 scripts or port their scripts to ksh-93. This update adds the "alternatives" switching method that allows to switch between ksh-93 provided by the ksh package and ksh-88 provided by the mksh package for /bin/ksh. Now, users can apply their scripts without modification or porting them to ksh-93 one by one. (BZ#659668) All users of mksh are advised to upgrade to this updated package, which fixes these bugs and adds this enhancement.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:05:22.621Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-28T02:05:22.621Z UTC. Last updated 2026-10-07T04:11:32.358Z UTC.

Upstream Advisory

Affected Packages

  • mksh 39-5.el6

Interested in being alerted when there are new versions of mksh? Set up an alert.
RHBA-2011:0580: mksh bug fix and enhancement update | Package Alert