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  
 
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 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 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup