bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #52890] `find --name` ignores files with non-printable character in


From: anonymous
Subject: [bug #52890] `find --name` ignores files with non-printable character in the filename
Date: Sun, 14 Jan 2018 18:35:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52890>

                 Summary:  `find --name` ignores files with non-printable
character in the filename
                 Project: findutils
            Submitted by: None
            Submitted on: Sun 14 Jan 2018 11:35:30 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: H.-Dirk Schmitt
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.0
           Fixed Release: None

    _______________________________________________________

Details:

See also https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1742011

Affected:  4.6.0 in xenial, artful, bionic
bionic version is 4.6.0+git+20170828


Simple test case:
-----------------
```
touch $(echo -e ERR'\0303'OR )
touch NON_ERROR
find . -name "*ERR*"
```

Result is that only the file NON_ERROR is shown and the file with the
non-printable character ERR?OR is missing.

`find .` (without -name) show both files.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52890>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]