From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21612 invoked by alias); 10 Sep 2016 01:03:17 -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: X-Seq: 39262 Received: (qmail 46 invoked from network); 10 Sep 2016 01:03:17 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f180.google.com 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(209.85.192.180):SA:0(0.0/5.0):. Processed in 1.097355 secs); 10 Sep 2016 01:03:17 -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=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=DytgVKMT5rYtuyl5xY1WXJhFSEspGMEitEO+AX+XuP4=; b=Czz5hZvHQX/O8m0Gzax61/OFu38wj1N8nguGPfZ8Wd2vSCzySrIFNh/nICWV2RpOTC 5VCEO/oRJfoxhIcgelsm7Si1jGHQPWESxG9CQB4ARaMPz29TA3K7UJxrLim4m1coB6lL ZqG0Qb1upKM/sd3UKDCxPXgwM+vUxxF7jQilsojwC7vAbYamqBJKmCAeTfklTURsz/sx 8L5IcJqm3uDJALYDpPbsu9ANRRhMpqlLF84urI7I5/7QsO4eFnYUXNeFSmvPLetSjNBP +Iewx1PLq4Ft6HGOggrxT8TVzTQTig7y4Nfg0jlgyK2UcoGRre4oKSd1IjEX/ycc/evZ eMWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=DytgVKMT5rYtuyl5xY1WXJhFSEspGMEitEO+AX+XuP4=; b=O14NGMCxbKg1tC3EpF2McPd2AU6AWcMBQ06UYL2tKLZuIYUCotJl08G86MJGZjQM2m SIp3h7Dz369HiiNW4vEueELbuzc7jNc/ANjiZdUoQ1niYLZJV4uZX1rf7gpOO1XiPnZu a/wt5xhi1kD0/0RWNu5Vl8qnKT4bof5VhCwj34GWUYJvdpDSfvKD7qK40fB247nksiqE o1Wdu5Ya1zYdd+EZk4g0CI+4HmCTK1zGJBfaeiiN2xn4Ck1niOkOq7EGWZhiQMK2R70P FaKZgIGC9ox9H24zJNw1bewh839GTE3D5qBYzz+5MpevB97JWWIqmv2dhGNO0Y7J/2F2 OoqQ== X-Gm-Message-State: AE9vXwNXLGWNgNGhiyVSITl1wl7fWdDXoxWk6PIgaqpfI2qqApXZVt97pjl4LRWk0axEsA== X-Received: by 10.98.21.81 with SMTP id 78mr10616152pfv.162.1473469367542; Fri, 09 Sep 2016 18:02:47 -0700 (PDT) From: Bart Schaefer Message-Id: <160909180250.ZM19582@torch.brasslantern.com> Date: Fri, 9 Sep 2016 18:02:50 -0700 In-Reply-To: <20160909173515.4cb8392e@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: zsh heredoc crash" (Sep 9, 5:35pm) References: <25855010.qczLe9GZ8n@kdudka-nb> <20160909173515.4cb8392e@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: zsh heredoc crash MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii [>workers] On Sep 9, 5:35pm, Peter Stephenson wrote: } Subject: Re: zsh heredoc crash } } On Fri, 9 Sep 2016 16:33:19 +0200 } Kamil Dudka wrote: } > On Friday, September 09, 2016 10:00:54 Paulo Cesar Pereira de Andrade wrote: } > > ---8<--- } > > #!/usr/bin/zsh } > > } > > cat >> /tm/ptry < > export A="$(tr '\n' ' ' < > content } > > BLDARC)" } > > EOF } > > ---8<--- } > } > I was not able to make upstream zsh 5.0.2 crash with the above reproducer. } } That's the underlying bug Paulo is talking about, yes } (zsh-workers/34322). I get: torch% cat >> /tmp/try < export A="$(tr '\n' ' ' < content heredoc> BLDARC)" heredoc> EOF zsh: parse error However, if I add another line break, it works: torch% cat >> /tmp/try <