autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix testsuite errors due to shell quoted parameter expansion issue.


From: Eric Blake
Subject: Re: Fix testsuite errors due to shell quoted parameter expansion issue.
Date: Tue, 03 Aug 2010 16:23:28 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

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.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]