From 6c69fd16bc00f7c7e809ae8f35d255841c7ab8dd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 19 Nov 2024 14:01:32 -0800 Subject: [PATCH] doc: mention "printf %d ''" change --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS b/NEWS index ef57baa3a..1852f311f 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,11 @@ GNU coreutils NEWS -*- outline -*- Previously it would have ignored the affinity mask on such systems. [bug introduced with nproc in coreutils-8.1] + printf now diagnoses attempts to treat empty strings as numbers, + as per POSIX. For example, "printf '%d' ''" now issues a diagnostic + and fails instead of silently succeeding. + [This bug was present in "the beginning".] + 'shuf' generates more-random output when the output is small. [bug introduced in coreutils-8.6]