From d63de5ed02e33890e45a35d12aeb8ffaf50d0c25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 3 Jun 2026 18:06:11 +0100 Subject: [PATCH] doc: NEWS: describe the stat file name quoting changes Note also a previous discussion on stat quoting at: https://bugs.gnu.org/23422 * NEWS: Describe the changes in behavior. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 4dad878b03..40822ceccc 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,12 @@ GNU coreutils NEWS -*- outline -*- 'ls' -w,--width no longer includes '\n' in the width of a line. I.e., the width or $COLUMNS is interpreted to be an _inclusive_ maximum. + 'stat' now uses shell quoting when required, to more robustly escape + file names. Previously it only quoted file names with the %N format. + The default quoting honors the QUOTING_STYLE env variable (like %N). + Also %Qn is a newly supported format combination to quote file names, + leaving the existing %n format for when quoting is not desired. + ** Improvements 'sort' will now better use available memory and parallel operation -- 2.47.3