-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/21/13 1:38 AM, Eduardo A. Bustamante López wrote: > On Wed, Mar 20, 2013 at 09:15:24PM -0400, Chet Ramey wrote: > >> http://lists.gnu.org/archive/html/bug-bash/2012-02/msg00106.html > Ah, I rembember that thread, but somehow just read the beginning of > it. Until now I realize it developed a lot further.
Here's the Posix summary: The golden rule in quote removal is that if a quote character was treated as special in the original word, it is removed; if it was treated as a literal character, it is not removed. > >> You say that, but you don't provide any actual evidence to back is up. >> The behavior with this expansion was the same from bash-3.1 (as far back >> as I went) through bash-4.2. > > I'm sorry, I meant the change from 4.2 -> 4.3 (don't know the exact > patch level) Well, since all we have is a development snapshot of bash-4.3 (alpha will be done in a few days), don't you think it's a little premature? In any event, I would not make a change like this in a patch to a version like bash-4.2. It's explicitly not backwards compatible, and I try to save those for releases. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFLKFIACgkQu1hp8GTqdKtjmQCeIzG+tZzuLFmtoBsKLs7YIC7l d84AoIxiSysO0DpQAgGrgnDi64qqX8dO =tFZj -----END PGP SIGNATURE-----