bugfindutils - Bugs: bug #30103, find -name \* doesn't match for...

 
 

bug #30103: find -name \* doesn't match for (some) special chars (especially chinese)

Submitted by:  Torge Husfeldt <torgehusfeldt>
Submitted on:  Thu 10 Jun 2010 09:53:37 AM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Duplicate
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.4.2Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 07 Oct 2010 09:56:24 AM UTC, comment #1:

I thinl this is a duplicate of bug #26701.

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 10 Jun 2010 09:53:37 AM UTC, original submission:

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.

Torge Husfeldt <torgehusfeldt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Posted a comment)
  • -unavailable- added by torgehusfeldt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Oct 2010 09:56:24 AM UTCjayStatusNone=>Duplicate
      Assigned toNone=>jay
      Open/ClosedOpen=>Closed
      Summaryfind -name \\* doesn\'t match for (some) special chars (especially chinese)=>find -name \* doesn't match for (some) special chars (especially chinese)

    Back to the top


    Powered by Savane 3.1-cleanup1