1 |
On Fri, 18 Mar 2005 10:05:18 +0900 Georgi Georgiev <chutz@×××.net> |
2 |
wrote: |
3 |
| > find . -name '*foo*' |
4 |
| |
5 |
| Does it make a difference? |
6 |
|
7 |
Yes. |
8 |
|
9 |
ciaranm@snowdrop portage 0 0.38 $ pwd |
10 |
/home/users/ciaranm/cvs/portage |
11 |
ciaranm@snowdrop portage 0 0.24 $ find . -name *.ebuild | wc -l |
12 |
1 |
13 |
ciaranm@snowdrop portage 0 1.63 $ find . -name '*.ebuild' | wc -l |
14 |
18863 |
15 |
|
16 |
The '' vs "" distinction is more subtle. Sometimes "" is actually what |
17 |
you want. Just not usually... |
18 |
|
19 |
ciaranm@snowdrop portage 0 0.80 $ touch \\ |
20 |
ciaranm@snowdrop portage 0 0.74 $ ll \\ |
21 |
-rw-r--r-- 1 ciaranm users 0 Mar 18 01:15 \ |
22 |
ciaranm@snowdrop portage 0 0.68 $ find . -maxdepth 1 -name '\\' |
23 |
./\ |
24 |
ciaranm@snowdrop portage 0 0.53 $ find . -maxdepth 1 -name "\\" |
25 |
ciaranm@snowdrop portage 0 0.47 $ |
26 |
|
27 |
-- |
28 |
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools) |
29 |
Mail : ciaranm at gentoo.org |
30 |
Web : http://dev.gentoo.org/~ciaranm |