[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix testsuite errors due to shell quoted parameter expansion issue.
From: |
Tim Rice |
Subject: |
Re: Fix testsuite errors due to shell quoted parameter expansion issue. |
Date: |
Tue, 3 Aug 2010 15:37:45 -0700 (PDT) |
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
address@hidden
Re: Fix testsuite errors due to shell quoted parameter expansion issue., Mikael Magnusson, 2010/08/04
Re: Fix testsuite errors due to shell quoted parameter expansion issue., Chet Ramey, 2010/08/08