From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2959 invoked by alias); 22 Jul 2016 19:40:23 -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: 38922 Received: (qmail 6661 invoked from network); 22 Jul 2016 19:40:23 -0000 X-Qmail-Scanner-Diagnostics: from dd18438.kasserver.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(85.13.138.226):SA:0(0.0/5.0):. Processed in 0.194779 secs); 22 Jul 2016 19:40:23 -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=HTML_MESSAGE autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: info@sebastian-hoeffner.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at sebastian-hoeffner.de does not designate permitted sender hosts) X-Gm-Message-State: AEkoousVp4hFQEdJo3Y8ArbXBQsAAsSdv1Bs3UQLBGYwKvvu76VCQR3F855iB0OD+fPUNoBjHcLW6FSU3hELIQ== X-Received: by 10.237.36.252 with SMTP id u57mr8759048qtc.39.1469216413282; Fri, 22 Jul 2016 12:40:13 -0700 (PDT) MIME-Version: 1.0 References: <160722113554.ZM15595@torch.brasslantern.com> In-Reply-To: <160722113554.ZM15595@torch.brasslantern.com> From: =?UTF-8?Q?Sebastian_H=C3=B6ffner?= Date: Fri, 22 Jul 2016 19:40:03 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Feature request: Bash compliance To: Bart Schaefer Cc: Zsh hackers list Content-Type: multipart/alternative; boundary=001a113a1b2a697ddd05383e9af6 --001a113a1b2a697ddd05383e9af6 Content-Type: text/plain; charset=UTF-8 Thanks Bart, it you are completely right. Sadly even zsh wasabi.sh won't run it correctly, due to = expansion in the first equality check as well as some array slicing problem in the very same case/esac. Thanks for looking into it! Sebastian On Fri, Jul 22, 2016 at 11:35 AM Bart Schaefer wrote: > On Jul 22, 3:51pm, Sebastian Hoffner wrote: > } Subject: Re: Feature request: Bash compliance > } > } I ran into problems which are detailed here: > } https://github.com/intuit/wasabi/issues/49 . My zsh is installed via > } homebrew: zsh 5.2 (x86_64-apple-darwin15.4.0). > > torch% case this in > case> this) echo now that;& > case> that) echo this is that;; > case> esac > now that > this is that > torch% > > I would note that wasabi.sh begins with > > #!/usr/bin/env bash > > which has the consequence that zsh is going to hand it off to bash even > if your $SHELL is zsh, unless you are explicitly passing it to zsh with > e.g. "zsh wasabi.sh". So I think the problem here is all bash-3.2 and > not zsh. > --001a113a1b2a697ddd05383e9af6--