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

Submitter:  Mike Frysinger <vapier>
Submitted:  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>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)

    There are 42 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    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.13-04b1.
    Corresponding source code