Follow-up Comment #8, bug #16520 (project findutils): James Youngman wrote: > I would guess that the byte sequence in the filename does not > correspond with a valid sequence of bytes in the character > encoding systenm you have configured for your environment
I am pretty sure that was the cause, see http://bugs.debian.org/cgi-bin/372499 which contains a example filetree. > If so, the likely reason is that fnmatch() is failing to decode > the (invalid) byte sequence according to the character encoding > that has been specified. It would be nice if <invalid seqquence>.jpg matched the pattern *.jpg. bash and even dash seem to manage this: UTF-8 locale set in test: $ find -name '*gamix*mp3' $ LC_ALL=C find -name '*gamix*mp3' ./dance/m?gamix.mp3 ./dance/m?gamix.mp3 $ ls -d dance/*gamix*mp3 dance/m?gamix.mp3 dance/m?gamix.mp3 cu andreas _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16520> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-findutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-findutils
