Re: ksh shell

From: Pete Wright <pete_at_nomadlogic.org>
Date: Thu, 16 Feb 2023 01:52:57 UTC
On Wed, Feb 15, 2023 at 01:14:24PM -0500, LuMiWa wrote:
> Hi!
> 
> I still using ksh shell on my system but I have a question:
> I saw in ports ksh, ksh-devel and ksh93 which I am using.
> But description for all 3 are the same"
> 
> "KSH-93 is the most recent 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.  KSH-93 provides an enhanced
> programming environment in addition to the major command-entry
> features of the BSD shell "csh".  With KSH-93, medium-sized programming
> tasks can be performed at shell-level without a significant loss
> in performance.  In addition, "sh" scripts can be run on KSH-93"
> 
> What is differnt between them, please. Thank you.

not an expert, but poking around the Makefiles for each of those shells
i think the breakdown is:

ksh93 ==> pulls source from AT&T (https://github.com/att/ast)
ksh / ksh-devel ==> pulls source from a fork of the at&t code and states
it is the location of current dev work (https://github.com/ksh93/ksh)


so i didn't really answer your question - but i'd hazard a guess that
tracking ksh or its development branch (ksh-devel) is there active work
is happening.  ksh93 seems to be around for historical reasons.

-pete


-- 
Pete Wright
pete@nomadlogic.org