From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13670 invoked from network); 4 Jan 2006 17:32:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Jan 2006 17:32:51 -0000 Received: (qmail 48089 invoked from network); 4 Jan 2006 17:32:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Jan 2006 17:32:45 -0000 Received: (qmail 16624 invoked by alias); 4 Jan 2006 17:32:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22117 Received: (qmail 16615 invoked from network); 4 Jan 2006 17:32:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Jan 2006 17:32:42 -0000 Received: (qmail 47813 invoked from network); 4 Jan 2006 17:32:42 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 4 Jan 2006 17:32:41 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id C5A63553; Wed, 4 Jan 2006 09:32:39 -0800 (PST) Date: Wed, 4 Jan 2006 09:32:39 -0800 From: Wayne Davison To: Ulrik Haugen Cc: zsh-workers@sunsite.dk Subject: Re: BUG: cd '' doesn't produce an error Message-ID: <20060104173239.GC14499@dot.blorf.net> References: <87zmmvxl3g.fsf@haugen.visit.se> <20051221102159.44d9f5ca.pws@csr.com> <877j9mycf9.fsf@haugen.visit.se> <20051230162841.GA30078@dot.blorf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051230162841.GA30078@dot.blorf.net> User-Agent: Mutt/1.5.11 On Fri, Dec 30, 2005 at 08:28:41AM -0800, Wayne Davison wrote: > The documentation claims that this error should cause the shell to > exit, but in my testing it did not do so without the err_exit option > also being set. It was silly of me to not notice that the reason for this was that the error was occurring in a subshell (inside the backticks), so that subshell was exiting, not the main shell. ..wayne..