buggrep - Bugs: bug #25539, empty display with DOS newlines...


You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Mike Frysinger <vapier>
Submitted on:  Tue 10 Feb 2009 05:58:39 AM UTC  
Votes:  42  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Tue 10 Feb 2009 05:58:39 AM UTC, original submission:  

$ 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}

Mike Frysinger <vapier>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gr4v_racz (Voted in favor of this item)
  • -email is unavailable- added by vapier (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 42 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-28 gr4v_racz Carbon-Copy- => Added gr4v_racz

    Back to the top

    Powered by Savane 3.7