]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Document _POSIX2_VERSION.
authorJim Meyering <jim@meyering.net>
Sat, 16 Feb 2002 08:22:32 +0000 (08:22 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Feb 2002 08:22:32 +0000 (08:22 +0000)
old/textutils/NEWS

index 7cbaa5a1469f2f89d97c4125f910686ad3d9c400..fab67541e4760da79c9a0acfdbd0cb4fe6d3fea4 100644 (file)
@@ -3,7 +3,11 @@ Changes in release 2.1
 * split accepts new option -a or --suffix-length.
 * split no longer generates longer suffixes than requested; instead, it reports
   an error when suffixes are exhausted.  POSIX requires this behavior.
-* The following obsolete usages are no longer supported on systems conforming
+* The _POSIX2_VERSION environment variable lets you select which version
+  of POSIX the utilities should conform to.  Its default value is system
+  dependent.  Set _POSIX2_VERSION=199209 to cause the utilities to support
+  obsolete usage like "sort +1".
+* The following obsolete usages are no longer supported when conforming
   to POSIX 1003.1-2001, which prohibits most digit-string options:
     expand -N  (instead, use expand -t N)
     head -N    (instead, use head -c N or head -n N)
@@ -13,14 +17,14 @@ Changes in release 2.1
     unexpand -N        (instead, use unexpand --first-only -t N)
     uniq -N    (instead, use uniq -f N)
   The following obsolete usages (options without arguments) are no
-  longer supported on systems conforming to POSIX 1003.1-2001, which
+  longer supported when conforming to POSIX 1003.1-2001, which
   prohibits most options with optional arguments:
     od -s      (instead, use od --strings)
     od -w      (instead, use od --width)
     pr -S      (instead, use pr --sep-string)
 [2.0.20]
 * tr no longer gets failed a assertion for [==] or [::]
-* The following obsolete usages are no longer supported on systems conforming
+* The following obsolete usages are no longer supported when conforming
   to POSIX 1003.1-2001, which prohibits most options with leading "+":
     sort +POS1 -POS2   (instead, use sort -k)
     tail +N            (instead, use tail -c +N or tail -n +N)