Sorry, just as I clicked 'send' it struck me.
of course I need to enclose *.ebuild in quotes.

  find . -name '*.ebuild'

works as expected. Please disregard my previos mail.


Kind regards,

Elias


On May 19, 2007, at 8:37 PM, Elias Pipping wrote:

Hi,

using findutils from gentoo-alt (find --version see below),
I encountered this strange behavior:

I was looking for files that had the extension '.ebuild'. So I tried:

  $ find . -name *.ebuild

However, only a single result[1] showed up, which was from
the current dir, whereas e.g.

  $ find . -name autoconf*.ebuild

brought up six results[2] from subdirs (as expected) and eventually

  $ find . -regex .+\.ebuild

brought up all the results[3] I wanted.

So the question is, what's wrong with the first command?
Wasn't I using the correct syntax or is something broken?

= = = = = =

[1] http://paste.lisp.org/display/41478
[2] http://paste.lisp.org/display/41478#1
[3] http://paste.lisp.org/display/41478#2

$ find --version
GNU find version 4.3.4
Built using GNU gnulib version 2007-04-17
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS () CBO(level=0)

= = = = = =

Kind regards,

Elias Pipping



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to