emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#19230: closed (Help! grepV2.21 treats ISO-8859 tex


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19230: closed (Help! grepV2.21 treats ISO-8859 text files as if they are binary)
Date: Thu, 31 Dec 2015 03:26:02 +0000

Your message dated Wed, 30 Dec 2015 19:25:04 -0800
with message-id <address@hidden>
and subject line Re: grep BUG: text file is detected as binary
has caused the debbugs.gnu.org bug report #20526,
regarding Help! grepV2.21 treats ISO-8859 text files as if they are binary
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20526: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20526
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Help! grepV2.21 treats ISO-8859 text files as if they are binary Date: Sun, 30 Nov 2014 14:40:31 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
Hello,

After upgrading to V2.21 I discovered that certain textfiles did not
yield any output after a grep search but the single line:

Binary file <NAME_FILE> matches

Further tests showed, that grep only behaved this way with text
files that were encoded according to ISO-8859 (There may be more!).
The presence or absence of diacritical characters didn't matter, nor
variants of formatting; another file with DOS type <CR><LF>'s parsed
just the same.

The only way to overcome this was by using the `roughshod' option
of the -a flag.

None of grep's versions that I have used before ever showed
this peculiarity.

I hope you can shed some light on this issue,

hansp





--- End Message ---
--- Begin Message --- Subject: Re: grep BUG: text file is detected as binary Date: Wed, 30 Dec 2015 19:25:04 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 I installed into Savannah a patch (attached) that should fix this problem in typical cases, and am boldly marking the bug as done. Please give the fix a try if you have the time. Thanks.

Attachment: 0001-grep-be-less-picky-about-encoding-errors.patch
Description: Text Data


--- End Message ---

reply via email to

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