GNU bug report logs - #5958
Sort-8.4 bug

Previous Next

Package: coreutils;

Reported by: srodri <at> datsi.fi.upm.es

Date: Fri, 16 Apr 2010 12:14:02 UTC

Severity: normal

Merged with 5991

Fixed in version 8.5

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: srodri <at> datsi.fi.upm.es
Subject: bug#5958 closed by Jim Meyering <jim <at> meyering.net> (Re: bug#5958:
 Sort-8.4 bug)
Date: Sun, 18 Apr 2010 08:48:01 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the coreutils package:

#5958: Sort-8.4 bug

It has been closed by Jim Meyering <jim <at> meyering.net>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jim Meyering <jim <at> meyering.net> by
replying to this email.


-- 
5958: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5958
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: pacman <at> kosh.dhis.org
Cc: Santiago Rodriguez <srodri <at> fi.upm.es>, 5958-done <at> debbugs.gnu.org,
	Eric Blake <eblake <at> redhat.com>
Subject: Re: bug#5958: Sort-8.4 bug
Date: Sun, 18 Apr 2010 10:47:13 +0200
pacman <at> kosh.dhis.org wrote:
> Eric Blake writes:
>> On 04/16/2010 04:58 AM, Santiago Rodriguez wrote:
>> > I think I have found a bug in sort coreutils command. When I type
>> >
>> > sort -T /tmp +1 -2 +2rn -3 +0 -1<<EOF
>> > perra/S perra 2.200000
>> > perro/PS perra 4.400000
>> > EOF
>>
>> Thanks for the report; however, this is not a bug.
>>
>> The syntax 'sort +1' is obsolete.  You are better off rewriting your
>
> When you pry it from my cold dead hands...

It has been declared "obsolete" for a good reason: it is ambiguous.
If you require that syntax, use some other sort program.

[Message part 3 (message/rfc822, inline)]
From: Santiago Rodriguez <srodri <at> fi.upm.es>
To: bug-coreutils <at> gnu.org
Subject: Sort-8.4 bug
Date: Fri, 16 Apr 2010 12:58:55 +0200
Dear sirs,

I think I have found a bug in sort coreutils command. When I type

sort -T /tmp +1 -2 +2rn -3 +0 -1<<EOF
perra/S perra 2.200000
perro/PS perra 4.400000
EOF

The result is:
perra/S perra 2.200000
perro/PS perra 4.400000


If I type
sort -T /tmp +1 -2 +2n -3 +0 -1<<EOF
perra/S perra 2.200000
perro/PS perra 4.400000
EOF


The result is the same. If I make the same executions with sort 5.0 it
works properly.

Setting or unsetting the LC_ALL=POSIX environment variable has no effect.

If you need more information, do not hesitate to ask.

Best regards,
Santiago Rodríguez.





This bug report was last modified 15 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.