Subject: bug#29668: closed (Re: bug#33552: grep patches for "Binary file FOO matches" glitches)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 21 Sep 2020 17:56:03 +0000

Your bug report

#29668: grep: Fatal problem with (big) file

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 [email-masked].

-- 
29668: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29668
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#33552: grep patches for "Binary file FOO matches" glitches
From: Paul Eggert <[email-masked]>
To: Jim Meyering <[email-masked]>
Cc: [email-masked], [email-masked], pg <[email-masked]>, Jason Franklin <[email-masked]>
Date: Mon, 21 Sep 2020 10:54:58 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 9/17/20 12:04 PM, Jim Meyering wrote:
> please go ahead and push them.

As that's been done and the bug fixes are now installed, I'm closing both bug 
reports.

Subject: grep: Fatal problem with (big) file
From: pg <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked]
Date: Mon, 11 Dec 2017 23:45:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

$ awk '/Volvo/' Tieliikenne5.0.csv | wc -l
266175
$ grep Volvo Tieliikenne5.0.csv | wc -l
1638
$ echo $? (after "grep  Volvo Tieliikenne5.0.csv" only too)
0
$ ack Volvo Tieliikenne5.0.csv | wc -l
266175

The file contain 5 milj. lines. It is the vehicle DB dump of Finland:
http://trafiopendata.97.fi/opendata/171009_Tieliikenne_5_0.zip

$ uname -a
Linux pg-desktop 4.10.0-40-generic #44~16.04.1-Ubuntu SMP Thu Nov 9
15:37:44 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Fatal error with ”small” file too:
$ awk '/Volvo/' Tieliikenne5.0.csv > volvot.csv
$ awk '/N3/'  volvot.csv | wc -l
17822
$ grep N3 volvot.csv | wc -l
1701
$ wc -l volvot.csv 
266175 volvot.csv

BR
pg

PS: Ubuntu webmaster - pls put error rep adr into your system and fwd
msg?
PPS: toimitus - Kyllä mää ennen olen osannut grepata;-)
PPPS: pointer error again? use perl or die!