Thu 04 May 2006 06:21:36 AM UTC, original submission:
On my Gentoo Linux system, I'm using find version 4.3.0 and have problems, finding certan strangely named files. For example, in a local directory on a tmpfs, I've got:
alexander@blatt /dev/shm/02 $ ls -la
insgesamt 916
drwxr-xr-x 2 alexander users 80 4. May 08:03 .
drwxrwxrwt 3 root root 80 4. May 07:59 ..
-rw-r--r-- 1 alexander users 922538 6. Nov 16:00 [2005-04-14 20-17-09] (0766) Sandra mit Cassandra auf Arm, Klinikum Barmen, Tag 23 - Schwarz-Wei�:009f.jpg
-rw-r--r-- 1 alexander users 125 4. May 08:03 dateien.txt
Now I'm trying to find the jpg file with find:
alexander@blatt /dev/shm/02 $ find . -name "*jpg"
alexander@blatt /dev/shm/02 $
As you see, NOTHING is found.
I suppose, this is because of the following characters:
�:009f
Instead of "�:009f", it should be a simple "ß", so it should read "Schwarz-Weiß".
alexander@blatt /dev/shm/02 $ find . -fprint dateien.txt ; hexdump -C dateien.txt | grep jpg
00000070 65 69 c3 3a 30 30 39 66 2e 6a 70 67 0a |ei.:009f.jpg.|
As you can see here, the � is a 0x3c character.
Now, my question is - why is find not finding the file?
All of this is NOT happening on a non-Gentoo system with find 4.1.20.
I also reported this bug to Gentoo. See bug report at http://bugs.gentoo.org/show_bug.cgi?id=132206
|