From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127 invoked by alias); 5 Aug 2010 22:22:08 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28133 Received: (qmail 14755 invoked from network); 5 Aug 2010 22:22:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at case.edu designates 129.22.105.37 as permitted sender) Message-ID: <4C5B3805.6050204@case.edu> Date: Thu, 05 Aug 2010 18:15:33 -0400 From: Chet Ramey Reply-To: chet.ramey@case.edu Organization: ITS, Case Western Reserve University User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Eric Blake CC: libtool-patches@gnu.org, gary@gnu.org, Bash - Bug , zsh-workers@zsh.org, Autoconf@gnu.org, chet.ramey@case.edu Subject: Re: Fix testsuite errors due to shell quoted parameter expansion issue. References: <20100803203204.GG13690@gmx.de> <4C588248.9050807@redhat.com> In-Reply-To: <4C588248.9050807@redhat.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/49, host=mpv2.tis.cwru.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020202.4C5B380A.0149,ss=1,fgs=0, ip=174.19.244.219, so=2010-02-10 23:06:36, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false On 8/3/10 4:55 PM, Eric Blake wrote: > [adding autoconf to document some shell bugs] > > On 08/03/2010 02:32 PM, Ralf Wildenhues wrote: >> Interesting shell unportability: >> >> $ bash -c 'f=" val" e=; echo "$e"$f' >> val >> $ ksh -c 'f=" val" e=; echo "$e"$f' >> val >> >> ksh93, dash, zsh all do it like ksh. Is that a bug in bash? > > Yes; adding bug-bash accordingly. According to POSIX: Thanks; this was an easy fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/