From: Paul Eggert Date: Thu, 28 Oct 2004 07:50:51 +0000 (+0000) Subject: (Standards conformance): Use "head -10" rather than "head -1" as X-Git-Tag: v5.3.0~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ac7f5a0273f75489b6cff1369fd7afab36cfe2;p=thirdparty%2Fcoreutils.git (Standards conformance): Use "head -10" rather than "head -1" as example of obsolete usage, since the POSIX consensus is that "head -1" could be supported even if we don't yet have clear consensus on "head -10". See today's revision to the SUS FAQ . --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index f35a7d24df..0c678d99ba 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -1183,7 +1183,7 @@ 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}, -@samp{head -1}, or @samp{tail +1}, you +@samp{head -10}, or @samp{tail +10}, you can work around the compatibility problems by setting @samp{_POSIX2_VERSION=199209} in your environment.