From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9103 invoked from network); 27 Jul 2005 18:24:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Jul 2005 18:24:01 -0000 Received: (qmail 77530 invoked from network); 27 Jul 2005 18:23:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jul 2005 18:23:55 -0000 Received: (qmail 25211 invoked by alias); 27 Jul 2005 18:23:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9199 Received: (qmail 25201 invoked from network); 27 Jul 2005 18:23:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Jul 2005 18:23:48 -0000 Received: (qmail 76503 invoked from network); 27 Jul 2005 18:23:48 -0000 Received: from p548514c0.dip0.t-ipconnect.de (HELO solfire) (84.133.20.192) by a.mx.sunsite.dk with SMTP; 27 Jul 2005 18:23:42 -0000 Received: from localhost ([127.0.0.1]) by solfire with esmtp (Exim 4.42) id 1DxqaX-0006DC-5n; Wed, 27 Jul 2005 20:25:09 +0200 Date: Wed, 27 Jul 2005 20:25:04 +0200 (CEST) Message-Id: <20050727.202504.104643750.Meino.Cramer@gmx.de> To: sami@no-eff-eks.com Cc: zsh-users@sunsite.dk From: Meino Christian Cramer In-Reply-To: <20050726042015.GA4009@no-eff-eks.com> References: <87oe8qh5qh.fsf@ceramic.fifi.org> <20050726.023319.41198250.Meino.Cramer@gmx.de> <20050726042015.GA4009@no-eff-eks.com> X-Mailer: Mew version 4.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Rcpt-To: sami@no-eff-eks.com, zsh-users@sunsite.dk X-SA-Exim-Mail-From: Meino.Cramer@gmx.de Subject: Re: Command != command ??? Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.1+cvs (built Sat, 28 Aug 2004 13:10:40 +0200) X-SA-Exim-Scanned: Yes (on solfire) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.0.4 From: Sami Samhuri Subject: Re: Command != command ??? Date: Mon, 25 Jul 2005 21:20:15 -0700 > * On Tue Jul-26-2005 at 02:33:19 AM +0200, Meino Christian Cramer said: > > > > ./globtest2:8: no matches found: **/*.jpg > [...] > > Normally, in the root of the dirtree, where the jpgs are, there is no > > jpg, but in the tree under the root there are jpgs (root == > > "/home/mccramer/data/pool10"). > > > > Now I did a > > > > touch "test.jpg" > > > > in the root and run the script again. > > Now, this single fake jpg in the root was found by the glob pattern > > '**/*.jpg'...but nothing else. > > What are the names of the directories? More specifically, do they start > with a "."? > > ~ % mkdir -p jpegs/.dir{1..5} > ~ % cd jpegs > ~/jpegs % for i ({1..5}) > for> touch .dir$i/pic{1..3}.jpg > ~/jpegs % find . -name '*.jpg' > ./.dir1/pic1.jpg > ./.dir1/pic2.jpg > ./.dir1/pic3.jpg > ./.dir2/pic1.jpg > ./.dir2/pic2.jpg > ./.dir2/pic3.jpg > ./.dir3/pic1.jpg > ./.dir3/pic2.jpg > ./.dir3/pic3.jpg > ./.dir4/pic1.jpg > ./.dir4/pic2.jpg > ./.dir4/pic3.jpg > ./.dir5/pic1.jpg > ./.dir5/pic2.jpg > ./.dir5/pic3.jpg > ~/jpegs % print -l **/*.jpg > zsh: no matches found: **/*.jpg > > -- > Sami Samhuri Exactly, the "." was the problem! Philippe found that, too :) Thank you all for your help ! :)) Keep zshing! Meino