summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-30 16:52:46 -0600
committerJim Meyering <meyering@redhat.com>2010-02-01 08:26:12 +0100
commit5d43617e8ad863ed041309edefd018fdcaa87038 (patch)
tree97b006c897443e5ff9dd599f95ae3d603c2fd342 /NEWS
parent5d4952059fa0d68cfc09ca5f72e6b0124633c79b (diff)
downloadcoreutils-5d43617e8ad863ed041309edefd018fdcaa87038.tar.xz
ls --color: don't emit a final no-op escape sequence
* src/ls.c (main): With --color, avoid emitting the final color- resetting escape sequence when it would be a no-op. * tests/ls/color-clear-to-eol: Adjust expected output accordingly. * tests/ls/color-dtype-dir: Likewise. * tests/ls/multihardlink: Likewise. * tests/ls/stat-free-symlinks: Likewise. * tests/misc/ls-misc: Likewise. * NEWS (Changes in behavior): Mention it. C de-Avillez rebased and adapted four of the new sl-dangle* tests in tests/misc/ls-misc. Reported by Jim Avera in http://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/494663
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f4c7f97d5..aa37d69e0 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,11 @@ GNU coreutils NEWS -*- outline -*-
using the --with-tty-group[=NAME] option, who also compares the group
of the TTY device with NAME (or "tty" if no group name is specified).
+** Changes in behavior
+
+ ls --color no longer emits the final 3-byte color-resetting escape
+ sequence when it would be a no-op.
+
* Noteworthy changes in release 8.4 (2010-01-13) [stable]