bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "$(echo "x'" '{1, 2}')" performs brace expansion, even though it sho


From: Dan Douglas
Subject: Re: "$(echo "x'" '{1, 2}')" performs brace expansion, even though it should not
Date: Mon, 14 Jan 2013 10:00:37 -0600
User-agent: KMail/4.8.3 (Linux/3.4.6-pf+; KDE/4.8.3; x86_64; ; )

On Monday, January 14, 2013 01:57:14 PM Marco Elver wrote:
> echo "$(echo "x'" '{1,2}')"

This was fixed in git a while back, but not backported to 4.2. I believe this:

                                   8/21
                                   ----
command.h
        - W_NOBRACE: new word flag that means to inhibit brace expansion

subst.c
        - brace_expand_word_list: suppress brace expansion for words with
          W_NOBRACE flag

-- 
Dan Douglas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]