BSD Ports

shells/ksh93 93.u_1,2 MidnightBSD

AT&T KornShell ksh93u+ 2012-08-01 (stable) version

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
d8138203e7
License
epl
Categories
shells

Description

ksh93u+ is the 2012-08-01 (stable) version of the KornShell Language described in "The KornShell Command and Programming Language," by Morris Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is a shell programming language, which is upward compatible with "sh" (the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO 9945.2 Shell and Utilities standard. ksh93u+ provides an enhanced programming environment in addition to the major command-entry features of the BSD shell "csh". With ksh93u+, medium-sized programming tasks can be performed at shell-level without a significant loss in performance. In addition, "sh" scripts can be run on ksh93u+ without modification.

In the other systems

SystemPortVersion
MidnightBSDshells/ksh9393.u_1,2
FreeBSDshells/ksh9393.u_4,2
OpenBSDshells/ksh931.0.10p0v0
NetBSDshells/ksh931.0.10nb3
DragonFlyshells/ksh9393.u_4,2

Install

Binary package:

mport install ksh93

From mports:

cd /usr/mports/shells/ksh93 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ksh93>0:shells/ksh93

Dependencies

No port depends on this one.

Configuration

Options name: shells_ksh93

OptionDefaultDescription
EXAMPLESon
KSHoffInstall to ${PREFIX}/bin/ksh
KSH93onInstall to ${PREFIX}/bin/ksh93
KSH93LoffInstall to ${PREFIX}/bin/ksh93l (legacy)
STATICoff
USES
compiler:c11
Service scripts
none

Files

Manual pages 1
  • ksh(1)
pkg-plist 5
  • @shell bin/ksh
  • share/man/man1/ksh.1.gz
  • share/examples/ksh%%93%%/dirs
  • share/examples/ksh%%93%%/popd
  • share/examples/ksh%%93%%/pushd
distinfo 1
FileSizeSHA256
ksh93/att-ast-93u_GH0.tar.gz1.2960931e+074cf10ae50306361a18d900008961093b5c2c51d69f4e50d14b911a8ce014d37f

Commit history 2

DateCommitCreditsLog message
d8138203e7 Lucas Holt shells/ksh93: bootstrap libast before ksh (#667)
Uses AST’s libast bootstrap target, which builds the required archive before nmake links against it.\n\nFixes Magus run 643 failure to resolve -last during the ksh93 build.\n\nValidation: bmake build; bmake fake; bmake package; work/ast-93u/bin/ksh --version; git diff --check. ## Summary by Sourcery Bug Fixes: - Fix ksh93 build failure in Magus caused by unresolved -last during linking. Signed-off-by: Lucas Holt <[email protected]>
d04eee19c1 Lucas Holt shells/ksh93: fix i386 libast bootstrap
The AST mamake bootstrap needs mam_cc_L set so -last resolves through INSTALLROOT/lib. On MidnightBSD i386 the probe can omit CC.L even though the compiler supports -L, leaving a raw -last in the nmake link and failing run 641. Force CC.L for MidnightBSD host types in both mamprobe copies used by the early bootstrap path. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>