Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: fix command substitution parsing
- X-seq: zsh-workers 34217
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: PATCH: fix command substitution parsing
- Date: Sat, 10 Jan 2015 20:56:58 +0100
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e5dHxHqte27crD4px26ebHiJ0lNWKPc5SzH4z1S36AI=; b=Q9R1O75+Sw8isbkXjX1zO5YXXXpxuyz+y2QHNI8RGruB8FEcI6dEpLzaRo/foeP/dE R7B0i5jQ+y/Q3awKAjKRNc9UwJksFy9q2klPgjsYr37/b9B8Yu+PnSrGN9BSSqw/CuZH kTmw7RWU9yzd4xjOi/dOHoYCkZ6kypk50NBVYCCGYgsPM6B6MJsiyQ18VPHyKVb1BMuu oO0t2OMLGv4Ku53V7vCGFNTC4S6cJw+4Cdc58PNXU9kqFzCC7unxewV7Y31rQt8FfNFB gEAVVtCiCCP07kUlIuDSREvxB7A9EnByRXghgu3oLMWkLHa5biGxerOeBXWSjC8jHDBR ok3A==
- In-reply-to: <20150107164836.035546c4@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150107164836.035546c4@pwslap01u.europe.root.pri>
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