diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 33c7f1959..a0b4cd9cf 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -12600,7 +12600,7 @@ numbers unambiguously octal, you can use @samp{%#03a}. The @samp{%N} and @samp{%Qn} formats can be set with the environment variable @env{QUOTING_STYLE}@. If that environment variable is not set, -the default value is @samp{shell-escape-always}. Valid quoting styles are: +the default value is @samp{shell-escape}. Valid quoting styles are: @quotingStyles The @samp{r}, @samp{R}, @samp{%t}, and @samp{%T} formats operate on the st_rdev diff --git a/src/stat.c b/src/stat.c index c76f4880a..77ea54cde 100644 --- a/src/stat.c +++ b/src/stat.c @@ -874,13 +874,13 @@ getenv_quoting_style (void) set_quoting_style (NULL, quoting_style_vals[i]); else { - set_quoting_style (NULL, shell_escape_always_quoting_style); + set_quoting_style (NULL, shell_escape_quoting_style); error (0, 0, _("ignoring invalid value of environment " "variable QUOTING_STYLE: %s"), quote (q_style)); } } else - set_quoting_style (NULL, shell_escape_always_quoting_style); + set_quoting_style (NULL, shell_escape_quoting_style); } /* Equivalent to quotearg(), but explicit to avoid syntax checks. */