On Wednesday 24 May 2006 06:43 pm, Neill Jones wrote:
>  Mmm interesting. Works fine on mine. I did the following test
>
>  touch "a file with spaces.txt"
>
>  touch "another file with spaces.txt"
>
>  then ran
>
>  find . -iname "*.txt"
>
>  which resulted in
>
>  ./a file with spaces.txt
>
>  ./another file with spaces.txt
>
>  and then ran
>
>  find . -iname "*.txt" | grep "another"
>
>  which gave me what I would expect
>
>  ./another file with spaces.txt
>
>  Unless I am missing something with the test, I would assume that the
>  above was sufficient to prove it works. So perhaps we are running
>  different versions of find?
>
>  This is the version I am running ...
>
>  [EMAIL PROTECTED] ~/Desktop]$ find --version
>  GNU find version 4.2.24
>  Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION
>
>  Regards
>
>  Neill

Found it!
I missed out on a second * with -iname.

[EMAIL PROTECTED] ~]$ find . |grep -i mijn
./mijn bestand
./Mijn Test
[EMAIL PROTECTED] ~]$ find . -iname "*mijn"
[EMAIL PROTECTED] ~]$ find . -iname "*mijn*"
./mijn bestand
./Mijn Test

Didn't play enough it would seem. :-)
-- 
Good luck,
HarM
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to