Brandorr wrote: > On 9/14/07, David Korn <dgk at research.att.com> wrote: > > cc: Bernd.Schemmer at gmx.de > > Subject: Re: [ksh93-integration-discuss] Differences between ksh88 and ksh93 > > -------- > > > > > is there anywhere a comprehensive list of differences between ksh88 and > > > ksh93? > > > > > > It would be useful to know what parts of existing scripts must be changed > > > to wor > > > k also in ksh93. > > > > > > E.g. from the test function > > > > > > X=88 ; f() { typeset X=93 ; } ; f ; print $X > > > > > > posted elsewhere I assume I must change the syntax for all my functions > > > from > > > > > > functioname() { > > > functionbody > > > } > > > > > > to > > > > > > function functionname { > > > functionbody > > > } > > > > > > to ensure that local variables defined with typeset are still local > > > variables if > > > running in ksh93. > > > > > > regards > > > > > > Bernd > > > > > > > Here is the list that comes with the shell source. > > ==================== COMPATIBILITY========================= > > > > KSH-93 VS. KSH-88 > > > > > > The following is a list of known incompatibilities between ksh-93 and > > ksh-88. > > I have not include cases that are clearly bugs in ksh-88. I also have > > omitted features that are completely upward compatible. [snip] > > > > I am interested in expanding this list so please let me know if you > > uncover any others. > > ==================== end COMPATIBILITY========================= > > If you don't mind, I would like to post this list on the OpenSolaris > FAQ I am maintaining. (I would make it an FAQ question which links to > a seperate wiki page.) > http://www.genunix.org/wiki/index.php/FAQ_Prototype#Shells [snip]
Erm... the document David quoted from is part of the source tree - see http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libshell/common/COMPATIBILITY (and I#ve uploaded a copy with the general ksh93s+ documentation on the ksh93-integration project homepage at http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93s/general/compatibility/). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)