macOS
brew install ksh93local Homebrew formula metadata
sudo port install ksh93MacPorts ports tree · shells/ksh93/Portfile · 来源: api.github.com
安装
brew install ksh93local Homebrew formula metadata
sudo port install ksh93MacPorts ports tree · shells/ksh93/Portfile · 来源: api.github.com
sudo pacman -S kshArch Linux sync databases · ksh · 来源: geo.mirror.pkgbuild.com
sudo dnf install kshFedora Rawhide package metadata · ksh · 来源: dl.fedoraproject.org
nix profile install nixpkgs#kshnixpkgs package indexes · pkgs/by-name/ks/ksh/package.nix · 来源: api.github.com
sudo zypper install kshopenSUSE Tumbleweed package metadata · ksh · 来源: download.opensuse.org
概览
KornShell, ksh93
历史
KornShell 93 is the KSH-93 line of David Korn's KornShell language, carried forward as a Unix shell, scripting language, and POSIX-oriented command environment. The Homebrew ksh93 package points at the community 93u+m continuation, which is based on AT&T's last stable 93u+ release dated 2012-08-01.
The ksh93 README republishes the 1993 AT&T description of KSH-93 as the version of the KornShell language described in The KornShell Command and Programming Language, compatible with Bourne shell scripts and intended to conform to the IEEE POSIX shell and utilities standard. That lineage made ksh93 both a production Unix shell and a language-runtime package with features beyond traditional sh.
The ksh93/ksh project began as a community reboot from AT&T AST sources after an attempted 2017-2020 ksh2020 refactoring effort was abandoned. The maintainers chose the older stable 93u+ code as the base and backported fixes from ksh2020, distribution patches from OpenSUSE, Red Hat, and Solaris, and new community fixes.
KornShell has long been part of commercial and open Unix culture, especially where POSIX shell compatibility, stronger scripting features, and historical vendor scripts mattered. The 93u+m README notes that Debian and Slackware began packaging 93u+m as their default ksh93 version in late 2021, marking the community fork's transition from preservation project to distro-consumed shell.
Users run ksh93 as an interactive shell, as a /bin/sh-compatible scripting engine, and through related tools such as rksh and shcomp. It matters most where shell-language compatibility, arithmetic and scripting features, or existing ksh scripts are more important than using bash or zsh.
ksh93 is package-nerd significant because it is not just another shell binary: it is a maintained survival path for AT&T AST code, legacy KornShell scripts, POSIX conformance work, and old Unix assumptions that still surface in modern distributions.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ksh | cli | 全局可执行文件 | |
ksh93 | cli | 全局可执行文件 | |
rksh | cli | 全局可执行文件 | |
rksh93 | cli | 全局可执行文件 | |
shcomp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ksh93 |
|---|---|
| 版本 | 1.0.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ksh93 |
| 主页 | https://github.com/ksh93/ksh |
| 仓库 | https://github.com/ksh93/ksh |
| 上游文档 | https://github.com/ksh93/ksh#readme |
| 许可证 | EPL-2.0 |
| 源码归档 | https://github.com/ksh93/ksh/archive/refs/tags/v1.0.10.tar.gz |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ksh93 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ksh 2020.0.0-3
The Original AT&T Korn Shell
sudo pacman -S kshksh93
sudo port install ksh93ksh
sudo port install kshksh 20240113-1.0.10-2
transitional package
sudo apt install kshksh
nix profile install nixpkgs#kshksh 20240113
transitional package
sudo apt install kshksh 1.0.10-8.fc44
The Original ATT Korn Shell
sudo dnf install kshksh 93vu-12.4
Korn Shell
http://www.research.att.com/~gsf/download/
sudo zypper install kshksh-devel 93vu-12.4
Korn Shell development environment
http://www.research.att.com/~gsf/download/
sudo zypper install ksh-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.