>From 6c4efdc0f51c8e253f16da2ec60cdf647bec3c06 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 26 Mar 2021 14:00:37 -0700 Subject: [PATCH] doc: document env fix * NEWS, doc/coreutils.texi (env invocation): Document recent change. --- NEWS | 3 +++ doc/coreutils.texi | 2 ++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 97cb4bd64..802f4b427 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,9 @@ GNU coreutils NEWS -*- outline -*- heavily changed during the run. [bug introduced in coreutils-8.25] + env -S no longer crashes when given unusual whitespace characters + [bug introduced in coreutils-8.30] + expr no longer mishandles unmatched \(...\) in regular expressions. [bug introduced in coreutils-6.0] diff --git a/doc/coreutils.texi b/doc/coreutils.texi index ac0b4467d..06ecdd74c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -17592,6 +17592,8 @@ hello Running @command{env -Sstring} splits the @var{string} into arguments based on unquoted spaces or tab characters. +(Newlines, carriage returns, vertical tabs and form feeds are treated +like spaces and tabs.) In the following contrived example the @command{awk} variable @samp{OFS} will be @code{xyz} as these spaces are inside -- 2.30.2