bug-coreutils
[Top][All Lists]
Advanced

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

Re: patch: contrib/compare_tests


From: Andrew Pinski
Subject: Re: patch: contrib/compare_tests
Date: Tue, 2 May 2006 18:55:53 -0400 (EDT)

> 
> Andrew Pinski wrote:
> 
> > > I was lazy today and decided to use compare_tests.  Guess what, it doesn't
> > > work on recent coreutils/sort (i.e. the one on FC5).
> > >
> > > >From the texinfo doc:
> > >
> > >      On older systems, `sort' supports an obsolete origin-zero syntax
> > >   `+POS1 [-POS2]' for specifying sort keys.  This obsolete behavior can
> > >   be enabled or disabled with the `_POSIX2_VERSION' environment variable
> > >   (*note Standards conformance::), but portable scripts should avoid
> > >   commands whose behavior depends on this variable.  For example, use
> > >   `sort ./+2' or `sort -k 3' rather than the ambiguous `sort +2'.
> > 
> > This is the same problem as tail and head.  Someone should tell Coreutils
> > that again they broking stuff that should work no matter what environment
> > variable is set.
> > 
> > Also Redhat (and all other distros) should think about bycotting GNU
> > Coreutils until they fix this bug.
> 
> Coreutils is just implementing the decisions of the Austin Common
> Standards Revision Group.
> 
> If someone posted here that e.g. g++ rejected code that was not valid
> C++0x the response would be exactly the same, "fix your code" not "g++
> is buggy for not accepting this broken code and should be boycotted."

Not really since these utils have been around long before and closed source
companies are not willing to change this utils for a long time.

Also this is a widely supported extension unlike most of the extensions
that are added to G++ (or really most of them are bugs in G++ that are not
known unlike this which was a feature).

Now this is just stupid argueing about this over and over, just fix Coreutils
to be like all other OS's utils and forgot about the standard here.

-- Pinski




reply via email to

[Prev in Thread] Current Thread [Next in Thread]