patchGNU Core Utilities - Patches: patch #4775, Fix for --color=always and piping.

 
 

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

patch #4775: Fix for --color=always and piping.

Submitter:  None
Submitted:  Sun 08 Jan 2006 06:14:25 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Wed 14 Jul 2010 03:08:12 PM UTC, comment #1: 
Pádraig Brady <pixelbeat>
Group administrator
Sun 08 Jan 2006 06:14:25 PM UTC, original submission:  

When piping to a pager 'less' with the --color=always switch, an extra line is added. This patch calls restore_default_color() after the last file and before the last newline character. Works for me and I don't think it breaks anything.

Anonymous

 

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

Attached Files
file #9423:  x added by None (2KiB - Fix for --color=always and piping.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pixelbeat (Posted a comment)
  •  

    There are 0 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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-14 pixelbeat StatusNone Done
        Open/ClosedOpen Closed
    2006-01-08 None Attached File- Added x, #5727
        Carbon-Copy- Added bjk --AT-- arbornet --DOT-- org

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code