From 9fff44980c2cc578b40eba7f048f2e7d82fb232d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 Feb 2002 08:22:32 +0000 Subject: Document _POSIX2_VERSION. --- old/textutils/NEWS | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'old') diff --git a/old/textutils/NEWS b/old/textutils/NEWS index 7cbaa5a14..fab67541e 100644 --- a/old/textutils/NEWS +++ b/old/textutils/NEWS @@ -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) -- cgit v1.2.3-54-g00ecf