From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3849 invoked from network); 24 Nov 2004 15:59:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Nov 2004 15:59:38 -0000 Received: (qmail 29179 invoked from network); 24 Nov 2004 15:59:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Nov 2004 15:59:28 -0000 Received: (qmail 15399 invoked by alias); 24 Nov 2004 15:59:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20580 Received: (qmail 15382 invoked from network); 24 Nov 2004 15:59:10 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Nov 2004 15:59:10 -0000 Received: (qmail 27450 invoked from network); 24 Nov 2004 15:58:31 -0000 Received: from smtp-out5.blueyonder.co.uk (195.188.213.8) by a.mx.sunsite.dk with SMTP; 24 Nov 2004 15:58:29 -0000 Received: from sc ([82.41.236.21]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 24 Nov 2004 15:58:58 +0000 Date: Wed, 24 Nov 2004 15:58:33 +0000 From: Stephane Chazelas To: Zsh hackers list Subject: =cmd cancels the whole code block Message-ID: <20041124155833.GA4697@sc> Mail-Followup-To: Zsh hackers list Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i X-OriginalArrivalTime: 24 Nov 2004 15:58:58.0511 (UTC) FILETIME=[821005F0:01C4D23E] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 ~$ zsh -f % a==a zsh: a not found % echo $? 1 % a==a || a==b zsh: a not found % a==a; echo $? zsh: a not found % (a==a); echo $? zsh: a not found 1 % { cursh> a==a cursh> echo foo cursh> echo bar cursh> } zsh: a not found % should it be considered as a normal behavior? Revealed following a recent usenet thread in comp.unix.shell. For one trying to do: { EDITOR==emacs || EDITOR==vi; } 2> /dev/null -- Stéphane