summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-04-01 15:37:35 -0600
committerEric Blake <eblake@redhat.com>2011-04-04 09:45:28 -0600
commit8d0b79afa54a5a0a7afcef415eb62fa0c8a33451 (patch)
tree6f010fa5b895d6a0e7f59d587de053dafa342ec4 /doc
parent03583f8d646f4cc4d5f91b7ed763c147a00e2f44 (diff)
downloadcoreutils-8d0b79afa54a5a0a7afcef415eb62fa0c8a33451.tar.xz
docs: mention POSIX 2008
* doc/coreutils.texi (Standards conformance): Give value of _POSIX2_VERSION matching the _POSIX_C_SOURCE of POSIX 2008.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 46deeed46..adcd848e3 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1455,10 +1455,11 @@ The @sc{gnu} utilities normally conform to the version of @acronym{POSIX}
that is standard for your system. To cause them to conform to a
different version of @acronym{POSIX}, define the @env{_POSIX2_VERSION}
environment variable to a value of the form @var{yyyymm} specifying
-the year and month the standard was adopted. Two values are currently
+the year and month the standard was adopted. Three 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 have a newer system but are running software
+@acronym{POSIX} 1003.2-1992, @samp{200112} stands for @acronym{POSIX}
+1003.1-2001, and @samp{200809} stands for @acronym{POSIX} 1003.1-2008.
+For example, if you have a newer system but are running software
that assumes an older version of @acronym{POSIX} and uses @samp{sort +1}
or @samp{tail +10}, you can work around any compatibility problems by setting
@samp{_POSIX2_VERSION=199209} in your environment.