In David Korn Tells All , 2001-02-07, David Korn states that ksh93 should be compared to Tcl, in the sense that it is implemented as a reusable library with a C language API, and points to dtksh and tksh as an example of the embedability/extensibility of ksh93. In Playing the MacOS Shell Game , Cameron Laird argues in favour of ksh over tcsh.
ksh93 aims for compatibility with the Shell Language Standard part of POSIX, and can therefore be used as a Bourne Shell replacement.
Some of the overlap between Ksh and Tcl can be seen in these packages:
What: tkhistory Where: ftp://ftp.procplace.com/pub/tcl/sorted/packages-7.6/misc/tkhistory-2/tkhistory-2.tar.Z Description: A Tk 3.6 script that visually keeps track of the command history for csh, tcsh, and ksh. Updated: 11/2002 Contact: mailto:[email protected] (Rick McClanahan) What: Tksh Where: http://www.kornshell.com/ http://www.cs.princeton.edu/%7Ejlk/tkshproj/ http://www.research.att.com/sw/tools/reuse/ http://www.gtlinc.com/products/languages/ksh/ksh.html Description: Tksh is an implementation of the Tcl C library written on top of ksh93. Tksh emulates the behavior of Tcl by using the API that is provided for extending ksh93. This allows Tcl libraries such as Tk to run on top of ksh93 unchanged, making it possible to use shell scripts in place of Tcl scripts. ksh93 is well suited for use with Tk because it is backward compatible with sh, making it both easy to learn and easy to extend existing scripts to provide a graphical user interface. Tksh allows Tcl scripts to run without modification using the ksh93 internals. The latest tksh works with Tcl 7.6. The author is no longer working on this application. Updated: 09/2001 Contact: mailto:[email protected] (Jeff Korn)