[plug] my Linux is too young! Need older "tail" and "head"

Denis Brown dsbrown at cyllene.uwa.edu.au
Wed Jun 30 23:03:57 WST 2004


Thanks, Cameron.

On Wed, 30 Jun 2004, Cameron Patrick wrote:

> Cameron Patrick wrote:
>
> | Denis Brown wrote:
> |

<snip>

> Aha, from 'info coreutils':
>
>        The GNU utilities normally conform to the version of POSIX that
>     is standard for your system.  To cause them to conform to a
>     different version of POSIX, define the `_POSIX2_VERSION'
>     environment variable to a value of the form YYYYMM specifying the
>     year and month the standard was adopted.  Two values are currently
>     supported for `_POSIX2_VERSION': `199209' stands for POSIX
>     1003.2-1992, and `200112' stands for POSIX 1003.1-2001.  For
>     example, if you are running older software that assumes an older
>     version of POSIX and uses `sort +1', `head -1', or `tail +1', you
>     can work around the compatibility problems by setting
>     `_POSIX2_VERSION=199209' in your environment.
>
I dips me lid :-)

Cheers,
Denis




More information about the plug mailing list