diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-11-03 16:32:08 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-11-04 23:30:15 +0000 |
commit | 109b9220cead6e979d22d16327c4d9f8350431cc (patch) | |
tree | 048d336b23d02068fe926224da83c06415b0a3fd /NEWS | |
parent | 5ef08864113505c6392158c9fac9a6cb1b3ac0e6 (diff) | |
download | coreutils-109b9220cead6e979d22d16327c4d9f8350431cc.tar.xz |
ls: default to --quoting=shell-escape for output to terminal
* src/ls.c (decode_switches): Set "shell-escape" if isatty().
* doc/coreutils.texi (ls invocation): Update the defaults description.
* NEWS: Mention the change in behavior. It should not have
backwards compat issues, but mentioning here just in case.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ GNU coreutils NEWS -*- outline -*- df now prefers sources towards the root of a device when eliding duplicate bind mounted entries. + ls now quotes file names unambiguously and appropriate for use in a shell, + when outputting to a terminal. + ** Improvements All utilities now quote user supplied arguments in error strings, |