[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what's wrong with 'find . -name *.ebuild'?
From: |
Elias Pipping |
Subject: |
what's wrong with 'find . -name *.ebuild'? |
Date: |
Sat, 19 May 2007 20:37:17 +0200 |
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
- what's wrong with 'find . -name *.ebuild'?,
Elias Pipping <=