GNU bug report logs - #17032
side effect bug...

Previous Next

Package: grep;

Reported by: Roméo Capulet <p-pioneer-q <at> gmx.fr>

Date: Tue, 18 Mar 2014 05:00:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: Roméo Capulet <p-pioneer-q <at> gmx.fr>
To: bug-grep <at> gnu.org
Subject: side effect bug...
Date: Tue, 18 Mar 2014 05:41:15 +0100
The option "-n" have a side effect with the option "-P" and the regexp 
'^\r$', the line numbers got overwritten by the carriage return char so 
these don't appear on output.

cmd ex: grep -Pn '^\r$' file.txt

ps: I know I can see the numbers by redirecting output in a file.




This bug report was last modified 11 years and 71 days ago.

Previous Next


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