Hi Folks,

When we started Colorado on opensolaris we discovered that some of our 
ksh scripts didn't work with ksh93, so we temporarily switched them to 
/usr/xpg4/bin/sh. I've now updated our build tools to be compatible with 
both ksh88 and ksh93.

The changes are:
- Change "local" to "typeset"
- Change function declarations from "foo()" to "function foo" to ensure 
local variables don't leak out of their functions.
- Fix incorrect variable declarations
- Change "`...`" to "$(...)"
- Internal ksh93 tee sometimes receives interrupts so force use of /bin/tee.

http://cr.opensolaris.org/~jmellors/ohac-tools-ksh88-93/

Thanks
Jonathan

Reply via email to