The MirBSD Korn Shell (mksh) is an actively developed successor of pdksh (the Public Domain Korn Shell), aimed at producing a shell good for interactive use, but with the primary focus on scripting. It is intended to be portable to most *nix-like operating systems as long as they're not
too obscure. mksh incorporates improvements from
OpenBSD and Debian, as well as bugfixes and
enhancements developed for the MirOS, FreeWRT, and MidnightBSD projects. The emacs command line editing mode is UTF-8 capable, and Byte Order Marks are ignored
in scripts. The shell supports large files, as
well as all pdksh and some csh, AT&T ksh, and GNU
bash features, is compatible with the Bourne shell
and POSIX (within limits), has no limit on array sizes, and
incorporates some other useful builtins and
features. While being already fast and small
(without losing functionality), flags to make it
even smaller can be given at compile time. An
interactive shell reads "~/.mkshrc" on startup.
License: DFSG approved
Changes:
Another busy loop spinning problem has been fixed.
The default dot.mkshrc file now implements the
csh-like pushd/popd/dirs commands and the zsh-like
precmd and chpwd functions/hooks. mksh can now be
built in parallel and with pcc (the Ragge version
of the BSD Portable C Compiler). Small bugfixes
and cleanups were made to the build script, code,
and manual page.