On Tue, 3 Aug 2010, Eric Blake wrote:
> On 08/03/2010 03:42 PM, Tim Rice wrote:
> >> ksh is the only shell that requires a space between the ) and {, even
> >> though the ) is a metacharacter and should not need trailing space (even
> >> Solaris /bin/sh got that right).
> >
> > Hmm, on my UnixWare machine
> >
> > $ ksh -c 'a(){ echo hi; }; a'
> > hi
> > $ ksh88 -c 'a(){ echo hi; }; a'
> > hi
> >
> > On my Solaris 10 box with ksh Version M-11/16/88i
> > $ ksh -c 'a(){ echo hi; }; a'
> > hi
> >
> > Even my old OpenLinux 3.1.1 machine running pdksh-5.2.14-6MR gets it right
> >
> > What version of ksh did you test on?
>
> My testing was with ksh93:
>
> Version M 1993-12-28 o+
>
> So David Korn introduced a regression sometime since ksh88.
Actually it would be post Version M-12/28/93e
You sniped out the part that said the UnixWare ksh was Version M-12/28/93e-SCO
--
Tim Rice Multitalents (707) 887-1469
[email protected]
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf