[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quoting issue in GCC's gcc/config.gcc ?
From: |
Greg Wooledge |
Subject: |
Re: quoting issue in GCC's gcc/config.gcc ? |
Date: |
Thu, 3 Mar 2011 13:08:28 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Mar 03, 2011 at 06:41:00PM +0100, Matthias Klose wrote:
> replacing
> case X"${with_cpu}" in
> with
> case X${with_cpu} in
>
> lets the match suceed with bash-4.2.6. bash-4.1.x works with both variants.
Confirmed here:
imadev:~$ bash-4.1.9 -c 'unset a; case X"${a}" in X) echo good;; *) echo bad;;
esac'
good
imadev:~$ bash-4.2.6 -c 'unset a; case X"${a}" in X) echo good;; *) echo bad;;
esac'
bad