bug-grep
[Top][All Lists]
Advanced

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

[bug #25539] empty display with DOS newlines and color=auto


From: Mike Frysinger
Subject: [bug #25539] empty display with DOS newlines and color=auto
Date: Tue, 10 Feb 2009 05:58:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5

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/





reply via email to

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