wszystkie opcje
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Pakiet źródłowy: mksh  ]

Pakiet: mksh (59c-43 i inne)

Odnośniki dla mksh

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego mksh:

Opiekun:

Zasoby zewnętrzne:

Podobne pakiety:

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.

The /usr/lib/$DEB_HOST_MULTIARCH/bin/mksh-g binary is a debug build of mksh (with printf builtin and /bin/sh kludges) that is also built with ASan/UBSan if available. The package Suggests must be fulfilled for this binary. Use it to test only and not in production!

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.

Znaczniki: Administracja systemem: Rozruch systemu, Instalacja systemu, Logowanie, Rozwój oprogramowania: devel::interpreter, devel::lang:c, Powłoka POSIX, devel::library, implemented-in::c, Interfejs użytkownika: Wiersz poleceń, interface::shell, made-of::man, Rola: Biblioteka deweloperska, Dokumentacja, role::program, scope::application, Zestaw oprogramowania: BSD, Przeznaczenie: Wymaga dodatkowego znacznika, Logowanie, Sieć WWW: web::cgi, works-with-format::html, Obsługa formatu: works-with-format::plaintext, works-with::people, Działa z: works-with::software:running, works-with::software:source, Tekst, Unikod

Inne pakiety związane z mksh

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie mksh

Pobierz dla wszystkich dostępnych architektur
Architektura Wersja Rozmiar pakietu Rozmiar po instalacji Pliki
alpha (port nieoficjalny) 59c-43 667,6 KiB2 118,0 KiB [lista plików]
amd64 59c-43 1 545,7 KiB7 713,0 KiB [lista plików]
arm64 59c-43 1 445,6 KiB8 014,0 KiB [lista plików]
armhf 59c-43 1 423,1 KiB5 301,0 KiB [lista plików]
hppa (port nieoficjalny) 59c-43 666,6 KiB2 044,0 KiB [lista plików]
i386 59c-43 1 548,5 KiB6 434,0 KiB [lista plików]
ia64 (port nieoficjalny) 59c-37 649,5 KiB2 528,0 KiB [lista plików]
loong64 59c-43 1 424,0 KiB8 040,0 KiB [lista plików]
m68k (port nieoficjalny) 59c-43 568,9 KiB1 566,0 KiB [lista plików]
ppc64 (port nieoficjalny) 59c-43 1 412,7 KiB8 584,0 KiB [lista plików]
ppc64el 59c-43 1 548,3 KiB9 108,0 KiB [lista plików]
riscv64 59c-43 1 534,3 KiB7 088,0 KiB [lista plików]
s390x 59c-43 1 494,6 KiB8 161,0 KiB [lista plików]
sh4 (port nieoficjalny) 59c-43 630,3 KiB1 593,0 KiB [lista plików]
sparc64 (port nieoficjalny) 59c-43 783,3 KiB6 865,0 KiB [lista plików]
x32 (port nieoficjalny) 59c-43 1 485,9 KiB5 991,0 KiB [lista plików]