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: [EMAIL PROTECTED] 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/ _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils