[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Coreutils POSIX changes not documented in release notes



On Wed, Mar 08, 2006 at 02:07:07PM -0500, Bill Rugolsky Jr. wrote:

>       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 have a newer system but are running
>    software that assumes an older version of POSIX and uses `sort +1' or
>    `tail +10', you can work around any compatibility problems by setting
>    `_POSIX2_VERSION=199209' in your environment.
> 
> I don't see anything about it here:
> 
>    http://fedoraproject.org/wiki/Docs/Beats
> 
> I was all excited about upgrading some servers to FC5, and this stops
> that upgrade cold until every one of hundreds of locally written scripts,
> some two decades old, are audited and "fixed."

Or just set that environment variable in your environment system-wide.

Tim.
*/

Attachment: pgp1sAqyXeQvA.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]