From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1005 invoked by alias); 15 May 2014 14:33:31 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18819 Received: (qmail 4458 invoked from network); 15 May 2014 14:33:16 -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.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140515073312.ZM28023@torch.brasslantern.com> Date: Thu, 15 May 2014 07:33:12 -0700 In-reply-to: <20140515093547.GD2174@tarsus.local2> Comments: In reply to Daniel Shahaf "Re: globbing in conditional expressions" (May 15, 9:35am) References: <20140507124101.GA53652@isis.sigpipe.cz> <20140507154407.660eb500@pwslap01u.europe.root.pri> <20140508105522.GE2052@tarsus.local2> <20140508122045.3c68c3fa@pwslap01u.europe.root.pri> <140508083418.ZM14713@torch.brasslantern.com> <20140508201936.GB53652@isis.sigpipe.cz> <140513084117.ZM22925@torch.brasslantern.com> <20140514041908.GF2471@tarsus.local2> <140514001819.ZM23478@torch.brasslantern.com> <140514215557.ZM26660@torch.brasslantern.com> <20140515093547.GD2174@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: globbing in conditional expressions MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 15, 9:35am, Daniel Shahaf wrote: } } Bart Schaefer wrote on Wed, May 14, 2014 at 21:55:57 -0700: } > } > I tried this and it appears glob patterns confuse things: } } Indeed. Thanks for taking the time to test drive this. I'm 90% sure that the problem with the glob flags has to do with short- circuiting at the wrong place, but I haven't tried very hard to find which is wrong or where is right.