GNU bug report logs - #54155
-f switch fails with large files on 3.x branch

Previous Next

Package: grep;

Reported by: Marco Marsala <marco.marsala <at> live.it>

Date: Fri, 25 Feb 2022 09:20:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54155 in the body.
You can then email your comments to 54155 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#54155; Package grep. (Fri, 25 Feb 2022 09:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco Marsala <marco.marsala <at> live.it>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Fri, 25 Feb 2022 09:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marco Marsala <marco.marsala <at> live.it>
To: bug-grep <at> gnu.org
Subject: -f switch fails with large files on 3.x branch
Date: Fri, 25 Feb 2022 07:45:00 +0100
This command:

grep -F -f b.txt a.txt

returns just first occurrence with grep 3.10 (mingw64, 4GB RAM machine) 
if files are bigger (b.txt ~ 1 MB, a.txt ~ 200 MB), works as expected 
with smaller files.

grep 2.10 on Debian (same RAM amount) works as expected even with such 
bigger files.





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 28 Feb 2022 17:43:01 GMT) Full text and rfc822 format available.

Notification sent to Marco Marsala <marco.marsala <at> live.it>:
bug acknowledged by developer. (Mon, 28 Feb 2022 17:43:01 GMT) Full text and rfc822 format available.

Message #10 received at 54155-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Marco Marsala <marco.marsala <at> live.it>
Cc: 54155-done <at> debbugs.gnu.org
Subject: Re: bug#54155: -f switch fails with large files on 3.x branch
Date: Mon, 28 Feb 2022 09:42:22 -0800
On 2/24/22 22:45, Marco Marsala wrote:
> 
> grep -F -f b.txt a.txt
> 
> returns just first occurrence with grep 3.10 (mingw64, 4GB RAM machine) 
> if files are bigger (b.txt ~ 1 MB, a.txt ~ 200 MB), works as expected 
> with smaller files.

Could you please send this bug report to whoever maintains the mingw64 
port that you're using? (I don't know who that is; they likely don't 
subscribe to this bug report address.) Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Mar 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 146 days ago.

Previous Next


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