URL:
<http://savannah.gnu.org/bugs/?30103>
Summary: find -name \* doesn't match for (some) special
chars (especially chinese)
Project: findutils
Submitted by: torgehusfeldt
Submitted on: Thu 10 Jun 2010 09:53:37 AM GMT
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.2
Fixed Release: None
_______________________________________________________
Details:
Hi,
i would expect "*" (correctly escaped from the shell) to match _anything_,
yet some special chars (apparently we're talking chinese here -- the test case
is derived from live data) do not belong to that category.
To reproduce:
$ mkdir test
$ cd test/
$(echo -ne '\xbc\xc3.txt')
$ ls -1
??.txt
$ find . -name \*
output:
<nothing>
expected output:
<same as find without -name parameter>
I did a rough search for existing bugs, but didn't find anything.
Thanks.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30103>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/