From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10304 invoked from network); 27 Jul 2005 02:02:47 -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 02:02:47 -0000 Received: (qmail 688 invoked from network); 27 Jul 2005 02:02:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jul 2005 02:02:40 -0000 Received: (qmail 22018 invoked by alias); 27 Jul 2005 02:02:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9191 Received: (qmail 22008 invoked from network); 27 Jul 2005 02:02:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Jul 2005 02:02:31 -0000 Received: (qmail 99406 invoked from network); 27 Jul 2005 02:02:31 -0000 Received: from mout.perfora.net (217.160.230.41) by a.mx.sunsite.dk with SMTP; 27 Jul 2005 02:02:27 -0000 Received: from S010600c0a84e4806.gv.shawcable.net [24.68.85.55] (helo=localhost) by mrelay.perfora.net with ESMTP (Nemesis), id 0MKyxe-1DxbFZ0Pxb-0000U9; Tue, 26 Jul 2005 22:02:25 -0400 Received: (qmail 8326 invoked from network); 25 Jul 2005 21:21:53 -0700 Received: from tuono.exile.net (HELO localhost) (192.168.42.2) by 10.0.0.2 with SMTP; 25 Jul 2005 21:21:53 -0700 Received: by localhost (Postfix, from userid 1000) id 601174C041; Mon, 25 Jul 2005 21:20:15 -0700 (PDT) Date: Mon, 25 Jul 2005 21:20:15 -0700 From: Sami Samhuri To: zsh-users@sunsite.dk Subject: Re: Command != command ??? Message-ID: <20050726042015.GA4009@no-eff-eks.com> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20050726.023319.41198250.Meino.Cramer@gmx.de> User-Agent: Mutt/1.5.8i X-Provags-ID: perfora.net abuse@perfora.net login:facf15b0d38d92af5a91e515edd5eac9 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, RCVD_BY_IP autolearn=no version=3.0.4 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * On Tue Jul-26-2005 at 02:33:19 AM +0200, Meino Christian Cramer said: >=20 > ./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 =3D=3D > "/home/mccramer/data/pool10"). >=20 > Now I did a=20 >=20 > touch "test.jpg" >=20 > 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.=20 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' =2E/.dir1/pic1.jpg =2E/.dir1/pic2.jpg =2E/.dir1/pic3.jpg =2E/.dir2/pic1.jpg =2E/.dir2/pic2.jpg =2E/.dir2/pic3.jpg =2E/.dir3/pic1.jpg =2E/.dir3/pic2.jpg =2E/.dir3/pic3.jpg =2E/.dir4/pic1.jpg =2E/.dir4/pic2.jpg =2E/.dir4/pic3.jpg =2E/.dir5/pic1.jpg =2E/.dir5/pic2.jpg =2E/.dir5/pic3.jpg ~/jpegs % print -l **/*.jpg zsh: no matches found: **/*.jpg --=20 Sami Samhuri --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC5bn/ukGyBH1UC2MRAr9CAJ43pj2pxvHaZtby4tmxFgLYnJ6CowCfef5d L5iwNlWWZBBYkJ3jMXszB/k= =Bfxh -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--