summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-03 15:36:48 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-05 00:44:06 +0000
commit9ad400f1adfcb90289107afcbc49469560ba14b5 (patch)
tree3c6caf709f0713364ac2b9d9270bff211052b414 /NEWS
parent6f64cb64f7e1f14bb8968a8838cc3bbe9d28d10b (diff)
downloadcoreutils-9ad400f1adfcb90289107afcbc49469560ba14b5.tar.xz
stat: make --format=%N honor the QUOTING_STYLE env var
* doc/coreutils.texi (stat invocation): Describe the QUOTING_STYLE values now supported. * src/stat.c (getenv_quoting_style): A new function called from main, that sets the default quoting style for quotearg. (main): Call getenv_quoting_style() when %N specified. * tests/misc/stat-fmt.sh: Add a test case. * NEWS: Mention the improvement. Fixes http://bugs.gnu.org/23422
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9548de885..844e23332 100644
--- a/NEWS
+++ b/NEWS
@@ -85,6 +85,9 @@ GNU coreutils NEWS -*- outline -*-
tail -f uses polling for "prl_fs" and "smb2", inotify for "m1fs",
and attempts inotify for "wslfs".
+ stat --format=%N for quoting file names now honors the
+ same QUOTING_STYLE environment variable values as ls.
+
** New Features
date now accepts the --debug option, to annotate the parsed date string,