URL:
<http://savannah.gnu.org/bugs/?25539>
Summary: empty display with DOS newlines and color=auto
Project: grep
Submitted by: vapier
Submitted on: Tue 10 Feb 2009 05:58:39 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
$ alias grep=grep
$ printf 's\r\n' | LC_ALL=C grep --color=auto 's.*'
<empty line>
if you drop the \r, it works fine. if you use color=never, it works fine.
behavior can be seen with grep 2.5.{1,3,4}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25539>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/