From: Meino Christian Cramer <Meino.Cramer@gmx.de>
To: sami@no-eff-eks.com
Cc: zsh-users@sunsite.dk
Subject: Re: Command != command ???
Date: Wed, 27 Jul 2005 20:25:04 +0200 (CEST) [thread overview]
Message-ID: <20050727.202504.104643750.Meino.Cramer@gmx.de> (raw)
In-Reply-To: <20050726042015.GA4009@no-eff-eks.com>
From: Sami Samhuri <sami@no-eff-eks.com>
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
next prev parent reply other threads:[~2005-07-27 18:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-24 5:42 Meino Christian Cramer
2005-07-24 22:12 ` Philippe Troin
2005-07-24 23:22 ` Bart Schaefer
2005-07-25 3:06 ` Meino Christian Cramer
2005-07-25 3:32 ` Philippe Troin
2005-07-25 3:45 ` Meino Christian Cramer
2005-07-25 4:14 ` Philippe Troin
2005-07-25 16:06 ` Meino Christian Cramer
2005-07-25 3:54 ` Bart Schaefer
2005-07-25 4:15 ` Philippe Troin
2005-07-25 18:00 ` Meino Christian Cramer
2005-07-25 18:24 ` Philippe Troin
2005-07-25 18:53 ` Meino Christian Cramer
2005-07-25 19:20 ` Philippe Troin
2005-07-25 19:35 ` Meino Christian Cramer
2005-07-25 22:37 ` Philippe Troin
2005-07-26 0:33 ` Meino Christian Cramer
2005-07-26 2:21 ` Philippe Troin
2005-07-26 4:20 ` Sami Samhuri
2005-07-27 18:25 ` Meino Christian Cramer [this message]
2005-07-26 5:07 ` Bart Schaefer
2005-07-27 2:50 ` Meino Christian Cramer
2005-07-26 10:28 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050727.202504.104643750.Meino.Cramer@gmx.de \
--to=meino.cramer@gmx.de \
--cc=sami@no-eff-eks.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).