Translate

Image of Operating System Concepts
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Modern Operating Systems (3rd Edition)

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 http://I.accept.www.opensource.org.licenses.eclipse:.@www2.research.att.com/sw/git/ast-open
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.