[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with if [ -d in bash 4.3.30
From: |
Chet Ramey |
Subject: |
Re: Problem with if [ -d in bash 4.3.30 |
Date: |
Tue, 09 Dec 2014 09:44:50 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/9/14, 9:14 AM, Eric Blake wrote:
> No, with bash 3.2, you are tripping up on a parser bug. Bash 3.2
> incorrectly handled double quotes inside unquoted parameter
> expansion.
This is mostly true, but it has nothing to do with the parser. This was
a change to how word expansion behaved, nothing more.
- --
``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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
iEYEARECAAYFAlSHCuIACgkQu1hp8GTqdKtjCgCbBF3Zf4K4x5Zm0JONdTTudsKh
NYwAn0xubauigzmr23pn7dQYnZ3ckp+D
=iPhY
-----END PGP SIGNATURE-----