Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fix testsuite errors due to shell quoted parameter expansion issue.
- X-seq: zsh-workers 28133
- From: Chet Ramey <chet.ramey@xxxxxxxx>
- To: Eric Blake <eblake@xxxxxxxxxx>
- Subject: Re: Fix testsuite errors due to shell quoted parameter expansion issue.
- Date: Thu, 05 Aug 2010 18:15:33 -0400
- Cc: libtool-patches@xxxxxxx, gary@xxxxxxx, Bash - Bug <bug-bash@xxxxxxx>, zsh-workers@xxxxxxx, Autoconf@xxxxxxx, chet.ramey@xxxxxxxx
- In-reply-to: <4C588248.9050807@xxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: ITS, Case Western Reserve University
- References: <20100803203204.GG13690@xxxxxx> <4C588248.9050807@xxxxxxxxxx>
- Reply-to: chet.ramey@xxxxxxxx
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@xxxxxxxx http://cnswww.cns.cwru.edu/~chet/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author