GNU bug report logs - #22071
incorrect behaviour for inverted matches with -l on empty files

Previous Next

Package: grep;

Reported by: Mark Wotton <mwotton <at> gmail.com>

Date: Tue, 1 Dec 2015 22:47: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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22071: closed (incorrect behaviour for inverted matches with
 -l on empty files)
Date: Wed, 02 Dec 2015 16:12:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 2 Dec 2015 08:11:20 -0800
with message-id <565F1828.1030600 <at> cs.ucla.edu>
and subject line Re: bug#22071: incorrect behaviour for inverted matches with -l on empty files
has caused the debbugs.gnu.org bug report #22071,
regarding incorrect behaviour for inverted matches with -l on empty files
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
22071: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22071
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mark Wotton <mwotton <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: incorrect behaviour for inverted matches with -l on empty files
Date: Tue, 01 Dec 2015 22:36:10 +0000
[Message part 3 (text/plain, inline)]
orb ➜  ~/src/grep-2.22  touch empty
orb ➜  ~/src/grep-2.22  ./src/grep -v -l "hi there" ./empty

gives empty output. Surely the file "empty" should match 'does not match
"hi there"' ?

cheers
mark
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Mark Wotton <mwotton <at> gmail.com>
Cc: 22071-done <at> debbugs.gnu.org
Subject: Re: bug#22071: incorrect behaviour for inverted matches with -l on
 empty files
Date: Wed, 2 Dec 2015 08:11:20 -0800
On 12/02/2015 05:57 AM, Mark Wotton wrote:
> Yes, I understand the interpretation now.

Thanks, closing the bug.


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

Previous Next


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