From: Paul Eggert Date: Fri, 26 Mar 2021 21:00:37 +0000 (-0700) Subject: doc: document env fix X-Git-Tag: v9.0~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c4efdc0f51c8e253f16da2ec60cdf647bec3c06;p=thirdparty%2Fcoreutils.git doc: document env fix * NEWS, doc/coreutils.texi (env invocation): Document recent change. --- diff --git a/NEWS b/NEWS index 97cb4bd647..802f4b4275 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 ac0b4467d8..06ecdd74cc 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