From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19523 invoked by alias); 6 Aug 2014 21:28:24 -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: 32970 Received: (qmail 24108 invoked from network); 6 Aug 2014 21:28:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Stephane Chazelas Subject: Re: $(...) and << Date: Wed, 6 Aug 2014 22:25:10 +0100 Message-ID: <20140806212510.GC31849@chaz.gmail.com> References: <20140731092711.GA28401@chaz.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5ec18517.skybroadband.com Content-Disposition: inline In-Reply-To: <20140731092711.GA28401@chaz.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 2014-07-31 10:27:11 +0100, Stephane Chazelas: > $ zsh -c 'echo $(cat << EOF > blah) > EOF > ); echo test' > zsh:4: parse error near `)' > > Most shells (ash being a notable exception) used to suffer from that bug. > > zsh seems to be the only one nowadays (tested ksh93/bash/dash/yash/mksh). [...] BTW, zsh -c ' echo $( case a in *) echo test esac)' is also a problem. -- Stephane