From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6006 invoked from network); 21 May 2002 05:48:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 May 2002 05:48:38 -0000 Received: (qmail 14977 invoked by alias); 21 May 2002 05:48:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17188 Received: (qmail 14964 invoked from network); 21 May 2002 05:48:26 -0000 Date: Tue, 21 May 2002 01:48:22 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: command substitution gets confused by case parens Message-ID: <20020521054822.GA21674@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) According to POSIX, I think, the following should work. print $(case $TEST in abc) echo a ;; def) echo b ;; esac) zsh: parse error near `;;'