bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17032: side effect bug...


From: Roméo Capulet
Subject: bug#17032: side effect bug...
Date: Tue, 18 Mar 2014 05:41:15 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]