From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10919 invoked from network); 26 Jul 2005 10:28:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Jul 2005 10:28:53 -0000 Received: (qmail 6869 invoked from network); 26 Jul 2005 10:28:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jul 2005 10:28:47 -0000 Received: (qmail 16649 invoked by alias); 26 Jul 2005 10:28:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9183 Received: (qmail 16640 invoked from network); 26 Jul 2005 10:28:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jul 2005 10:28:41 -0000 Received: (qmail 5874 invoked from network); 26 Jul 2005 10:28:41 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 26 Jul 2005 10:28:36 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Tue, 26 Jul 2005 11:26:30 +0100 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 26 Jul 2005 11:30:51 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j6QASYkZ032477 for ; Tue, 26 Jul 2005 11:28:34 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j6QASYon032474 for ; Tue, 26 Jul 2005 11:28:34 +0100 Message-Id: <200507261028.j6QASYon032474@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-users@sunsite.dk Subject: Re: Command != command ??? In-reply-to: <20050726.023319.41198250.Meino.Cramer@gmx.de> References: <8764uyitfr.fsf@ceramic.fifi.org> <20050725.213536.78705211.Meino.Cramer@gmx.de> <87oe8qh5qh.fsf@ceramic.fifi.org> <20050726.023319.41198250.Meino.Cramer@gmx.de> Date: Tue, 26 Jul 2005 11:28:34 +0100 From: Peter Stephenson X-OriginalArrivalTime: 26 Jul 2005 10:30:52.0052 (UTC) FILETIME=[18CFC540:01C591CD] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,PLING_QUERY autolearn=no version=3.0.4 Meino Christian Cramer wrote: > From: Philippe Troin > > What about this script: > > > > #!/bin/zsh > > print "### pwd" > > pwd > > command pwd > > print "### find" > > find . -name "*.jpg" > > print "### glob" > > print -l **/*.jpg > > > > What's the output? > > > > Phil. > > > > It prints: > > ------------------------------------------------------------------ > ### pwd > /home/mccramer/data/pool10 > /home/mccramer/data/pool10 > ### find > . > . > . > > . > . > . > ### glob > ------------------------------------------------------------------ > > > The > "------------------------------------------------------------------"'s > are added by myself. After "### glob" there is following nothing > printed to stdout. To stderr there is the known error message: > > ./globtest2:8: no matches found: **/*.jpg Make sure you have an up-to-date zsh. There were one or two bugs in pattern matching that got fixed earlier this year to do with character counting and termination. If it's still happening, it may be there is a file with non-ASCII characters which is still confusing zsh: lots of such problems have been fixed but it won't surprise me if some are left. It would be useful to narrow the problem down to a particular set of files or directory subtree. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************