[Bug 1742011] Re: `find --name` ignores files with non-printable character in the filename
** Bug watch added: GNU Savannah Bug Tracker #52890 http://savannah.gnu.org/bugs/?52890 ** Also affects: findutils via http://savannah.gnu.org/bugs/?52890 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742011 Title: `find --name` ignores files with non-printable character in the filename To manage notifications about this bug go to: https://bugs.launchpad.net/findutils/+bug/1742011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1742011] Re: `find --name` ignores files with non-printable character in the filename
Can reproduce the problem in artfull and bionic. ** Tags added: artful bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742011 Title: `find --name` ignores files with non-printable character in the filename To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1742011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1742011] Re: `find --name` ignores files with non-printable character in the filename
Simple test case: touch $(echo -e ERR'\0303'OR ) touch NON_ERROR find . -name "*ERR*" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742011 Title: `find --name` ignores files with non-printable character in the filename To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1742011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1742011] Re: `find --name` ignores files with non-printable character in the filename
Having a second look I found the mitigation cleaning up the filename with the help of: `tr --delete --complement '[:print:]` So it is obvious that the characters breaking `find … -name` are non- printable characters. ** Summary changed: - find can't find several files with unicode characters if --name is used + `find --name` ignores files with non-printable character in the filename -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742011 Title: `find --name` ignores files with non-printable character in the filename To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1742011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs