GNU bug report logs - #19230
Help! grepV2.21 treats ISO-8859 text files as if they are binary

Previous Next

Package: grep;

Reported by: Hans Pelleboer <hanspelleboer <at> online.nl>

Date: Sun, 30 Nov 2014 19:10:02 UTC

Severity: normal

Merged with 19985, 20526, 21558

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hans Pelleboer <hanspelleboer <at> online.nl>
To: 19230 <at> debbugs.gnu.org
Subject: bug#19230: Fwd: Re: bug#19230: Help! grepV2.21 treats ISO-8859 text files as if they are binary
Date: Mon, 01 Dec 2014 20:54:46 +0100
[Message part 1 (text/plain, inline)]


-------- Forwarded Message --------
Subject: 	Re: bug#19230: Help! grepV2.21 treats ISO-8859 text files as 
if they are binary
Date: 	Mon, 01 Dec 2014 20:50:07 +0100
From: 	Hans Pelleboer <hanspelleboer <at> online.nl>
To: 	Bob Proulx <bob <at> proulx.com>



On 12/01/2014 08:45 PM, Bob Proulx wrote:
> Hans Pelleboer wrote:
>> Paul Eggert wrote:
>>> Hans Pelleboer wrote:
>>>> I was wondering what can be done to compile grep in such a way,
>>>> that it processes all text files, no matter what way they are encoded.
>>> You don't need to recompile; you can just use 'grep -a'.
>> I was referring to the default behaviour, as it used to be, without extra
>> flags
> I apologize for having no time to check myself.  What is the behavior
> if you set the locale back to C/POSIX for grep?
>
>    env LC_ALL=C grep someencodedfile
>
> Bob
Then everything is hunky dory as it used to be with V2.20 and before
(since 1986 in my case!).
Hans



[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.