[Bug 661642] Re: find: stops when directory matched

2010-10-16 Thread Peter Fürholz
Ooups, I overlooked the bash-expansion feature! See: p...@latitude:~/test$ find -name *test* ./123 test 123 -> bash expands *test* to '123 test 123' When quoted: p...@latitude:~/test$ find -name '*test*' ./123 test 123 ./123 test 123/23 test 332 ./123 test 123/23 atest 122 ./123 test

[Bug 661642] Re: find: stops when directory matched

2010-10-16 Thread Andrew McCarthy
Hi there, thanks for taking the time to report this. What you're seeing, however, isn't a bug but a result of how the shell is handling *test*. When you type "find -iname *atest*", bash tries to expand *atest* by looking in the current directory. When it doesn't find anything, it leaves *atest* un