[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "$(echo "x'" '{1,2}')" performs brace expansion, even though it shou
From: |
Chet Ramey |
Subject: |
Re: "$(echo "x'" '{1,2}')" performs brace expansion, even though it should not |
Date: |
Mon, 14 Jan 2013 10:59:31 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
On 1/14/13 8:57 AM, Marco Elver wrote:
> Machine Type: x86_64-unknown-linux-gnu
>
> Bash Version: 4.2
> Patch Level: 42
> Release Status: release
>
> Description:
> If a double-quoted command substitution command contains a
> double-quoted string containing a single-quote, followed by a
> single-quoted string containing a brace-expansion expression,
> then the command to be substituted is not executed correctly.
Thanks for the report. This has been fixed in the bash development
versions for some time.
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/