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: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#5958: marked as done (Sort-8.4 bug)
Date: Sun, 18 Apr 2010 08:48:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 Apr 2010 10:47:13 +0200
with message-id <87aat1i1v2.fsf <at> meyering.net>
and subject line Re: bug#5958: Sort-8.4 bug
has caused the GNU bug report #5958,
regarding Sort-8.4 bug
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
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: 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.




[Message part 3 (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.


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.