diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-10 19:48:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-10 19:48:43 +0000 |
commit | b34abb6f44d91d22a2d76de288a16ba00427241e (patch) | |
tree | f72870a927d2ef73f8720e40cd3dc907310fc95f /doc | |
parent | b194aad646a3e44f5bbaa26c3be8f6066b226f0c (diff) | |
download | coreutils-b34abb6f44d91d22a2d76de288a16ba00427241e.tar.xz |
(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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 94ece47ce..eef61a7d2 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. |