GNU bug report logs - #29668
grep: Fatal problem with (big) file

Previous Next

Package: grep;

Reported by: pg <pasi.vitsa <at> yahoo.com>

Date: Mon, 11 Dec 2017 22:03:02 UTC

Severity: normal

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: pg <pasi.vitsa <at> yahoo.com>
Subject: bug#29668: closed (Re: bug#33552: grep patches for "Binary file
 FOO matches" glitches)
Date: Mon, 21 Sep 2020 17:56:03 +0000
[Message part 1 (text/plain, inline)]
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 29668 <at> debbugs.gnu.org.

-- 
29668: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29668
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: Jim Meyering <jim <at> meyering.net>
Cc: 29668-done <at> debbugs.gnu.org, 33552-done <at> debbugs.gnu.org,
 pg <pasi.vitsa <at> yahoo.com>, Jason Franklin <jrf <at> elitemail.org>
Subject: Re: bug#33552: grep patches for "Binary file FOO matches" glitches
Date: Mon, 21 Sep 2020 10:54:58 -0700
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.

[Message part 3 (message/rfc822, inline)]
From: pg <pasi.vitsa <at> yahoo.com>
To: bug-grep <at> gnu.org
Cc: toimitus <at> masinistit.com, webmaster <at> ubuntu.com
Subject: grep: Fatal problem with (big) file
Date: Mon, 11 Dec 2017 23:45:25 +0200
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!



This bug report was last modified 4 years and 238 days ago.

Previous Next


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