zsh-workers
 help / color / mirror / code / Atom feed
From: Chet Ramey <chet.ramey@case.edu>
To: Eric Blake <eblake@redhat.com>
Cc: libtool-patches@gnu.org, gary@gnu.org,
	Bash - Bug <bug-bash@gnu.org>,
	zsh-workers@zsh.org, Autoconf@gnu.org, chet.ramey@case.edu
Subject: Re: Fix testsuite errors due to shell quoted parameter expansion issue.
Date: Thu, 05 Aug 2010 18:15:33 -0400	[thread overview]
Message-ID: <4C5B3805.6050204@case.edu> (raw)
In-Reply-To: <4C588248.9050807@redhat.com>

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/


      parent reply	other threads:[~2010-08-05 22:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100803203204.GG13690@gmx.de>
2010-08-03 20:55 ` Eric Blake
2010-08-03 21:21   ` Mikael Magnusson
2010-08-03 21:28     ` Eric Blake
2010-08-04 15:18     ` John Lumby
2010-08-04 15:27       ` Eric Blake
2010-08-04 17:06         ` John Lumby
2010-08-03 21:43   ` Peter Stephenson
2010-08-05 22:15   ` Chet Ramey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5B3805.6050204@case.edu \
    --to=chet.ramey@case.edu \
    --cc=Autoconf@gnu.org \
    --cc=bug-bash@gnu.org \
    --cc=eblake@redhat.com \
    --cc=gary@gnu.org \
    --cc=libtool-patches@gnu.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).