diff options
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index d8cc5b6a2..0b142c7ad 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -3681,11 +3681,13 @@ numbers of leading blanks in fields can cause confusing results. Keys can span multiple fields. @vindex _POSIX2_VERSION +@vindex POSIXLY_CORRECT On older systems, @command{sort} supports an obsolete origin-zero syntax @samp{+@var{pos1} [-@var{pos2}]} for specifying sort keys. This obsolete behavior can be enabled or disabled with the @env{_POSIX2_VERSION} environment variable (@pxref{Standards -conformance}). +conformance}); it can also be enabled when @env{POSIXLY_CORRECT} is +not set by using the obsolete syntax with @samp{-@var{pos2}} present. Scripts intended for use on standard hosts should avoid obsolete syntax and should use @option{-k} instead. For example, avoid |