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


You are not allowed to post comments on this tracker with your current authentification 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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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
  • -unavailable- added by gr4v_racz (Voted in favor of this item)
  • -unavailable- added by vapier (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Sep 2016 04:14:28 PM UTCgr4v_raczCarbon-Copy-=>Added gr4v_racz

    Back to the top

    Powered by Savane 3.1-cleanup