bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [patch #4775] Fix for --color=always and piping.
Date: Sun, 8 Jan 2006 18:14:26 +0000
User-agent: ELinks/0.12.GIT (textmode; Linux 2.6.12.6 i686; 100x37-2)

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4775>

                 Summary: Fix for --color=always and piping.
                 Project: GNU Core Utilities
            Submitted by: None
            Submitted on: Sun 01/08/06 at 18:14
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

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.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
bjk --AT-- arbornet --DOT-- org     | Originator Email



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 01/08/06 at 18:14  Name: x  Size: 1.66KB   By: None
Fix for --color=always and piping.
<http://savannah.gnu.org/patch/download.php?item_id=4775&item_file_id=5727>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4775>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]