Package: mksh (59b-1 and others)
Links for mksh
Download Source Package mksh:
- Homepage [mirbsd.de]
MirBSD Korn Shell
mksh is the successor of the Public Domain Korn shell (pdksh), a Bourne/POSIX compatible shell which is largely similar to the original AT&T Korn Shell (ksh88/ksh93). It includes bug fixes and feature improvements, in order to produce a modern, robust shell good for interactive and especially script use. mksh has UTF-8 support (in string operations and the Emacs editing mode). The code has been cleaned up and simplified, bugs fixed, standards compliance added, and several enhancements (for extended compatibility to other modern shells, as well as a couple of its own) are available. This shell is Debian Policy 10.4 compliant and works as /bin/sh on Debian systems (use the /bin/lksh executable) and is a good rescue and initrd shell (consider the /bin/mksh-static executable).
The mksh binary is a complete, full-featured shell. It provides a “consistent across all platforms” guarantee, using 32-bit integers for arithmetics, possibly deviating from POSIX.
The mksh-static binary is a version of mksh, linked against klibc, musl, or dietlibc (if they exist for that Debian architecture and are usable) and optimised for small code size, for example for use on initrd or initramfs images, installation or rescue systems. Except for omitting some features to be smaller, it is similar to the mksh binary otherwise. Note the exact feature set may differ depending on which C library was used to compile it.
The lksh binary is a script shell based on mksh intended to run old ksh88 and pdksh scripts, but not for interactive use. When used as /bin/sh it follows POSIX most closely, including use of the host’s “long” C data type for arithmetics. It also contains kludges so it can run as /bin/sh on Debian beyond what Policy dictates, to work around bugs in maintainer scripts and LSB init scripts shipped by many packages, such as including a rudimentary printf(1) builtin, permitting a shell function to be named stop overriding the default alias, more loose interpretation of shell extglobs, etc.
A sample ~/.mkshrc is included in /usr/share/doc/mksh/examples and provided as /etc/mkshrc conffile, which is sourced by another file /etc/skel/.mkshrc users are recommended to copy into their home.
Other Packages Related to mksh
- dep: libc6 (>= 2.15) [amd64, mips64el, powerpcspe, ppc64, s390x]
- GNU C Library: Shared libraries
also a virtual package provided by libc6-udeb
- dep: libc6 (>= 2.16) [sparc64, x32]
- dep: libc6 (>= 2.17) [arm64, ppc64el]
- dep: libc6 (>= 2.27) [riscv64]
- dep: libc6 (>= 2.28) [armel, armhf, hppa, i386, m68k, mipsel]
- dep: libc6 (>= 2.30) [sh4]
- rec: ed
- classic UNIX line editor
|Architecture||Version||Package Size||Installed Size||Files|
|alpha (unofficial port)||59b-1||598.2 kB||1,679.0 kB||[list of files]|
|amd64||59b-1||589.9 kB||1,448.0 kB||[list of files]|
|arm64||59b-1||613.2 kB||1,623.0 kB||[list of files]|
|armel||59b-1||573.5 kB||1,523.0 kB||[list of files]|
|armhf||59b-1||584.1 kB||1,157.0 kB||[list of files]|
|hppa (unofficial port)||59b-1||569.8 kB||1,612.0 kB||[list of files]|
|i386||59b-1||657.7 kB||1,433.0 kB||[list of files]|
|m68k (unofficial port)||59b-1||516.7 kB||1,293.0 kB||[list of files]|
|mips64el||59b-1||646.5 kB||2,006.0 kB||[list of files]|
|mipsel||59b-1||656.1 kB||1,825.0 kB||[list of files]|
|powerpcspe (unofficial port)||56c-2||488.1 kB||1,284.0 kB||[list of files]|
|ppc64 (unofficial port)||59b-1||537.9 kB||1,529.0 kB||[list of files]|
|ppc64el||59b-1||593.5 kB||1,855.0 kB||[list of files]|
|riscv64 (unofficial port)||59b-1||584.3 kB||1,138.0 kB||[list of files]|
|s390x||59b-1||588.7 kB||1,739.0 kB||[list of files]|
|sh4 (unofficial port)||59b-1||582.2 kB||1,252.0 kB||[list of files]|
|sparc64 (unofficial port)||59b-1||535.1 kB||1,340.0 kB||[list of files]|
|x32 (unofficial port)||59b-1||568.1 kB||1,184.0 kB||[list of files]|