alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: mksh  ]

Paket: mksh (59c-39 och andra)

Länkar för mksh

Screenshot

Debianresurser:

Hämta källkodspaketet mksh:

Ansvarig:

Externa resurser:

Liknande paket:

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.

Märken: Systemadministration: Systemstart, System Installation, Inloggning, Software Development: devel::interpreter, devel::lang:c, POSIX shell, devel::library, implemented-in::c, User Interface: Command Line, interface::shell, made-of::man, Role: Development Library, Dokumentation, role::program, scope::application, Application Suite: BSD, Purpose: Behöver ett märke till, Inloggning, World Wide Web: web::cgi, works-with-format::html, Supports Format: works-with-format::plaintext, works-with::people, Works with: works-with::software:running, works-with::software:source, Text, Unicode

Andra paket besläktade med mksh

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta mksh

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Version Paketstorlek Installerad storlek Filer
alpha (inofficiell anpassning) 59c-39 550,8 kbyte1.719,0 kbyte [filförteckning]
amd64 59c-39 578,3 kbyte1.618,0 kbyte [filförteckning]
arm64 59c-39 586,4 kbyte1.974,0 kbyte [filförteckning]
armel 59c-39 557,9 kbyte1.712,0 kbyte [filförteckning]
armhf 59c-39 563,6 kbyte1.299,0 kbyte [filförteckning]
hppa (inofficiell anpassning) 59c-39 467,5 kbyte1.744,0 kbyte [filförteckning]
i386 59c-39 648,6 kbyte1.615,0 kbyte [filförteckning]
ia64 (inofficiell anpassning) 59c-37 649,5 kbyte2.528,0 kbyte [filförteckning]
m68k (inofficiell anpassning) 59c-39 530,1 kbyte1.320,0 kbyte [filförteckning]
mips64el 59c-39 558,1 kbyte2.124,0 kbyte [filförteckning]
ppc64 (inofficiell anpassning) 59c-39 516,9 kbyte1.642,0 kbyte [filförteckning]
ppc64el 59c-39 579,5 kbyte2.038,0 kbyte [filförteckning]
riscv64 59c-39 593,8 kbyte1.317,0 kbyte [filförteckning]
s390x 59c-39 582,6 kbyte1.790,0 kbyte [filförteckning]
sh4 (inofficiell anpassning) 59c-39 642,6 kbyte1.452,0 kbyte [filförteckning]
sparc64 (inofficiell anpassning) 59c-39 507,0 kbyte4.461,0 kbyte [filförteckning]
x32 (inofficiell anpassning) 59c-39 548,7 kbyte1.219,0 kbyte [filförteckning]