diff options
author | Jim Meyering <meyering@redhat.com> | 2010-01-30 16:52:46 -0600 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-02-01 08:26:12 +0100 |
commit | 5d43617e8ad863ed041309edefd018fdcaa87038 (patch) | |
tree | 97b006c897443e5ff9dd599f95ae3d603c2fd342 /NEWS | |
parent | 5d4952059fa0d68cfc09ca5f72e6b0124633c79b (diff) | |
download | coreutils-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-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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] |