Coreutils POSIX changes not documented in release notes

Tim Waugh twaugh at redhat.com
Wed Mar 8 23:05:08 UTC 2006


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.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-docs-list/attachments/20060308/afa9e44b/attachment.sig>


More information about the fedora-docs-list mailing list