LGTM. Do we happen to have a complete list of changes needed to any ksh88 script to get to this compatibility? --emk
Jonathan Mellors wrote: > 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 > _______________________________________________ > ha-clusters-discuss mailing list > ha-clusters-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss