From: Jim Meyering Date: Thu, 10 Jul 2003 19:48:43 +0000 (+0000) Subject: (Standards conformance): Mention that uses like X-Git-Tag: v5.0.1~110 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b34abb6f44d91d22a2d76de288a16ba00427241e;p=thirdparty%2Fcoreutils.git (Standards conformance): Mention that uses like `tail -1' and `head -1', like `sort +1', are non conforming. (chown invocation): Say that using `.' as a separator may not work. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 94ece47ce1..eef61a7d2d 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -921,7 +921,8 @@ the year and month the standard was adopted. Two values are currently supported for @env{_POSIX2_VERSION}: @samp{199209} stands for @acronym{POSIX} 1003.2-1992, and @samp{200112} stands for @acronym{POSIX} 1003.1-2001. For example, if you are running older software that -assumes an older version of @acronym{POSIX} and uses @samp{sort +1}, you +assumes an older version of @acronym{POSIX} and uses @samp{sort +1}, +@samp{head -1}, or @samp{tail +1}, you can work around the compatibility problems by setting @samp{_POSIX2_VERSION=199209} in your environment. @@ -7514,8 +7515,10 @@ is omitted, only the group of the files is changed; in this case, @end table -You may use @samp{.} in place of the @samp{:} separator. This is a -@sc{gnu} extension for compatibility with older scripts. +Some older scripts may still use @samp{.} in place of the @samp{:} separator. +@acronym{POSIX} 1003.1-2001 (@pxref{Standards conformance}) does not allow that, +but you may be able to work around the compatibility problems by setting +@samp{_POSIX2_VERSION=199209} in your environment. New scripts should avoid the use of @samp{.} because @sc{gnu} @command{chown} may fail if @var{owner} contains @samp{.} characters.