Using Git to Build Latest Korn Shell Sources

Up until a couple of months ago, if you wanted to build ksh93 (Korn Shell) from the source, you had to download the latest source code tarball from AT&T Labs Research. Such tarballs were released several times a year.

Now you can use git to clone the latest sources for ast-open which includes ksh93:

$ git clone
Cloning into 'ast-open'...
remote: Counting objects: 41554, done.
remote: Compressing objects: 100% (5477/5477), done.
remote: Total 41554 (delta 35246), reused 41554 (delta 35246)
Receiving objects: 100% (41554/41554), 37.07 MiB | 934 KiB/s, done.
Resolving deltas: 100% (35246/35246), done.

To build ast-open:

$ cd ast-open
$ bin/package make

To run ksh93 when it is built:

$ cd arch/linux.i386-64/bin
$ ./ksh
$ echo ${.sh.version}
Version JM 93u+ 2012-05-04

Comments are closed.