Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2023 17:52:57 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        LuMiWa <lumiwa@dismail.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ksh shell
Message-ID:  <20230216015257.wdskyxkzoyxxkytc@topanga>
In-Reply-To: <20230215131424.0847d6b8@dismail.de>
References:  <20230215131424.0847d6b8@dismail.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230216015257.wdskyxkzoyxxkytc>