全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: mksh  ]

套件:mksh(59c-37)

mksh 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 mksh

維護者:

外部的資源:

相似套件:

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.

標籤: 系統管理: 系統開機, 系統安裝, 登入, 軟體開發: devel::interpreter, devel::lang:c, POSIX shell, devel::library, implemented-in::c, 使用者介面: 命令行, interface::shell, made-of::man, 角色: 開發用函式庫, 文件, role::program, scope::application, 應用程式集: BSD, Purpose: 需要一個額外的標籤, 登入, 全球資訊網: web::cgi, works-with-format::html, 支援的格式: works-with-format::plaintext, works-with::people, 處理: works-with::software:running, works-with::software:source, 文字, Unicode

其他與 mksh 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 mksh

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
alpha (非官方移植版) 549。3 kB1,719。0 kB [檔案列表]
amd64 576。4 kB1,602。0 kB [檔案列表]
arm64 580。4 kB1,974。0 kB [檔案列表]
armel 553。5 kB1,710。0 kB [檔案列表]
armhf 559。5 kB1,291。0 kB [檔案列表]
hppa (非官方移植版) 552。0 kB1,685。0 kB [檔案列表]
i386 643。6 kB1,591。0 kB [檔案列表]
ia64 (非官方移植版) 649。5 kB2,528。0 kB [檔案列表]
m68k (非官方移植版) 528。7 kB1,320。0 kB [檔案列表]
mips64el 550。2 kB2,125。0 kB [檔案列表]
ppc64 (非官方移植版) 511。2 kB1,642。0 kB [檔案列表]
ppc64el 564。8 kB2,038。0 kB [檔案列表]
riscv64 582。4 kB1,309。0 kB [檔案列表]
s390x 578。4 kB1,786。0 kB [檔案列表]
sh4 (非官方移植版) 635。5 kB1,452。0 kB [檔案列表]
sparc64 (非官方移植版) 504。8 kB4,461。0 kB [檔案列表]
x32 (非官方移植版) 543。0 kB1,211。0 kB [檔案列表]