GNU bug report logs - #19330
bug in grep -Pv ":\n" or even in rep -Pv ":\n"

Previous Next

Package: grep;

Reported by: "Arul, Shankari Swetaambari" <shankari.swetaambari.arul <at> intel.com>

Date: Tue, 9 Dec 2014 18:49:02 UTC

Severity: normal

Tags: notabug

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 19330 in the body.
You can then email your comments to 19330 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#19330; Package grep. (Tue, 09 Dec 2014 18:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Arul, Shankari Swetaambari" <shankari.swetaambari.arul <at> intel.com>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Tue, 09 Dec 2014 18:49:02 GMT) Full text and rfc822 format available.

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

From: "Arul, Shankari Swetaambari" <shankari.swetaambari.arul <at> intel.com>
To: "bug-grep <at> gnu.org" <bug-grep <at> gnu.org>
Subject: bug in grep -Pv ":\n" or even in rep -Pv ":\n"
Date: Tue, 9 Dec 2014 18:43:49 +0000
[Message part 1 (text/plain, inline)]
Hi,

The grep expression grep -Pv ":\n" or  even in rep -Pv ":\n" is not working as expected.
Did anyone report a bug on this?

Ex: The above expression does not filter the following text always -
foo:

Sometimes it works but not always.

Thanks,
Shankari
[Message part 2 (text/html, inline)]

Information forwarded to bug-grep <at> gnu.org:
bug#19330; Package grep. (Thu, 11 Dec 2014 07:40:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Arul, Shankari Swetaambari" <shankari.swetaambari.arul <at> intel.com>, 
 19330 <at> debbugs.gnu.org
Subject: Re: bug#19330: bug in grep -Pv ":\n" or even in rep -Pv ":\n"
Date: Wed, 10 Dec 2014 23:39:31 -0800
Arul, Shankari Swetaambari wrote:
> The grep expression grep -Pv ":\n"

Grep matches lines one at a time, so the Perl regular expression "\n" can never 
match anything.




Added tag(s) notabug. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sat, 30 May 2015 20:05:08 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19330 <at> debbugs.gnu.org and "Arul, Shankari Swetaambari" <shankari.swetaambari.arul <at> intel.com> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sat, 30 May 2015 20:05:08 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 28 Jun 2015 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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