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

Bernd Felsche bernie at innovative.iinet.net.au
Thu Jul 1 08:57:14 WST 2004


On Wednesday 30 June 2004 23:03, Denis Brown wrote:
> 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 :-)

To the first sufficiently desperate to RTFM. :-)

-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | I'm a .signature virus!
 X   against HTML mail     | Copy me into your ~/.signature
/ \  and postings          | to help me spread!





More information about the plug mailing list