Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: fix command substitution parsing



On Wed, Jan 7, 2015 at 5:48 PM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> According to the test suite enhanced with a few appropriate tests, this
> fixes the problem where syntactically significant but irrelevant
> unmatched closing parentheses caused command substitution to abort
> early.
>
> I don't believe that either, so we'll need to tease out whatever
> oddities remain.  I think it's basically good enough to push, and the
> problems will only emerge when I do, but I'll use it myself for a day or
> so first.

Daniel Hahler found the following and reported it on irc, bisected to
this commit,
% alias foo=bar
% f() $(foo)
% which f
f () {
    $(foobar)
}

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author