GNU bug report logs - #20526
BUG: text file is detected as binary

Previous Next

Package: grep;

Reported by: Sebastian Poehn <sebastian.poehn <at> gmail.com>

Date: Thu, 7 May 2015 15:41:03 UTC

Severity: normal

Merged with 19230, 19985, 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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sebastian Poehn <sebastian.poehn <at> gmail.com>
Subject: bug#20526: closed (Re: grep BUG: text file is detected as binary)
Date: Thu, 31 Dec 2015 03:26:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20526: BUG: text file is detected as binary

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20526 <at> debbugs.gnu.org.

-- 
20526: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20526
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 20526-done <at> debbugs.gnu.org
Cc: Kamil Dudka <kdudka <at> redhat.com>, Benno Schulenberg <bensberg <at> justemail.net>,
 Mike Frysinger <vapier <at> gentoo.org>, Johannes Meixner <jsmeix <at> suse.de>,
 Hans Pelleboer <hanspelleboer <at> online.nl>,
 Sebastian Poehn <sebastian.poehn <at> gmail.com>,
 Ángel González <angel <at> re.16bits.net>,
 Eric Blake <eblake <at> redhat.com>
Subject: Re: grep BUG: text file is detected as binary
Date: Wed, 30 Dec 2015 19:25:04 -0800
[Message part 3 (text/plain, inline)]
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.
[0001-grep-be-less-picky-about-encoding-errors.patch (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Sebastian Poehn <sebastian.poehn <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: BUG: text file is detected as binary
Date: Thu, 07 May 2015 13:08:08 +0200
[Message part 6 (text/plain, inline)]
Fedora 21
grep (GNU grep) 2.21

Grep detects text file as Binary. File is attached.

file Makefile 
Makefile: ISO-8859 text

ack PKG_NAME
Makefile
10:PKG_NAME:=clearsilver
14:PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

grep --version ; grep "PKG_NAME" Makefile
grep (GNU grep) 2.7
...
PKG_NAME:=clearsilver
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

grep --version ; grep "PKG_NAME" Makefile
grep (GNU grep) 2.21
...
Binary file Makefile matches

[Makefile (text/x-makefile, attachment)]

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

Previous Next


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