URL: <http://savannah.gnu.org/bugs/?44570>
Summary: Wrong find -type f -not -name "*txt" result for files with weird names Project: findutils Submitted by: kotu88 Submitted on: Wed 18 Mar 2015 02:29:04 PM 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: When I type find -type f -not -name "*txt" or even: find -type f -not -name *txt on my data, there is a problem with some files (I attached a small subset of that data). There is a result below: kotu@..../tmp$ find -type f -not -name *.txt ./http___medjugorje_hr_/ا?%84?%86د?%88ة-ا?%84د?%88?%84?%8Aة-ا?%84أ?%88?%84?%89-?%84?%84أطباء-?%88ا?%84?%85?%85رضات-?%88ا?%84عا?%85?%84?%8A?%86-?%81?%8A-?%85جا?%84-ا?%84طب-?%81?%8A-?%85د?%8A?%88غ?%88ر?%8A?%87,4785.html.plain.txt ./http___www_abacosun_com_pl_/1085,?%93?%98?%90?%9BУР?%9E?%9D?%9E?%92?%90Я_?%9A?%98С?%9B?%9EТ?%90_наполнение_мо?%80?%89ин_и_?%81кладок_ко?%80?%80ек?%86и?%8F_?%84о?%80м?%8B_г?%83б.plain.txt ./http___lancuchy_net_/kolko-do-kluczy-10-xl.htm?st=?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%82a?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%84cuch ogniwo ?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%9Br.plain.txt ./http___lancuchy_net_/kolko-do-lancucha-10x60w-irma.htm?st=?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%82a?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%84cuch ogniwo ?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%9Br.plain.txt ./http___lancuchy_net_/lancuch-niezgrzewany-12mm-bialy.htm?st=?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%82a?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%84cuch ogniwo ?%84?%82?%82?%84?%84š?%84?%84?%84?%82?%82?%82?%82?%82?%82?%9Br.plain.txt ./http___www_bgk_com_pl_/?%9A?%80еди?%82?%8B-о?%82-?%95в?%80опей?%81кого-инве?%81?%82и?%86ионного-банка-дл?%8F-?%84инан?%81и?%80овани?%8F-?%80егионал?%8Cного-?%80азви?%82и?%8F-ru.plain.txt ./http___instar_net_pl_/Те?%80ка-дл?%8F-?%87и?%89енн?%8F-?%96-пол?%96?%80?%83ванн?%8F-ке?%80ам?%96?%87ни?%85-пли?%82ок-?%96-ви?%80?%96вн?%8Eванн?%8F-епок?%81идни?%85-?%88в?%96в.plain.txt ./http___www_bonuseurotech_com_pl_/?%9B?????%82?%8B-?????%8F-????????????????-?????%88??????-??-???????????%80?%82????,29.html?&bViewAll=true&bViewAll=true&bViewAll=true&bViewAll=true&bViewAll=true&bViewAll=true&bViewAll=true&bViewAll=true.plain.txt These files shouldn't be in output, am I right? _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 18 Mar 2015 02:29:04 PM GMT Name: tmp.7z Size: 269kB By: kotu88 <http://savannah.gnu.org/bugs/download.php?file_id=33389> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44570> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/