From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17273 invoked by alias); 15 Oct 2017 14:31:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 41901 Received: (qmail 26477 invoked by uid 1010); 15 Oct 2017 14:31:13 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(-1.9/5.0):. Processed in 2.678654 secs); 15 Oct 2017 14:31:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: by amavisd-new using ClamAV (5) Date: Sun, 15 Oct 2017 16:31:06 +0200 From: Sebastian Gniazdowski To: Bart Schaefer , "=?utf-8?Q?zsh-workers=40zsh.org?=" Message-ID: In-Reply-To: <171014185301.ZM3708@torch.brasslantern.com> References: <171011100231.ZM3821@torch.brasslantern.com> <20171012165053.7cf67aa2@pwslap01u.europe.root.pri> <20171013103622.1d920b14@pwslap01u.europe.root.pri> <171013135510.ZM12458@torch.brasslantern.com> <171014185301.ZM3708@torch.brasslantern.com> Subject: Re: [BUG] In reference to patch 39815, about (z) flag and $( parse error X-Mailer: Airmail (442) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 15 pa=C5=BAdziernika 2017 at 03:53:01, Bart Schaefer (schaefer=40brass= lantern.com) wrote: > torch% printf '<%s>=5Cn' =24=7B(z)buf=7D Btw, interesting use of printf. > I'm therefore suspicious that something else is involved in your exampl= e. It's rather not a bug after all. The cause is an apostrophe in comment. B= ut (z) isn't comment-aware, so this is fine. Basically this parses =22inc= orrectly=22: =23 ' () =7B =C2=A0 =C2=A0 =C2=A0 =C2=A0 au=5Farr+=3D(expand-absolute-path up-line-or-= beginning-search) =7D Tokens are: <=23> <' () =7B =C2=A0 =C2=A0 =C2=A0 =C2=A0 au=5Farr+=3D(expand-absolute-path up-line-or-= beginning-search) =7D> -- =20 Sebastian Gniazdowski psprint /at/ zdharma.org