GNU bug report logs - #19937
possibly sort bug

Previous Next

Package: coreutils;

Reported by: Tomáš Kyselica <tomas.kyselica <at> gmail.com>

Date: Tue, 24 Feb 2015 17:53:04 UTC

Severity: normal

Tags: notabug

Merged with 19936, 19938

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19937 in the body.
You can then email your comments to 19937 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#19937; Package coreutils. (Tue, 24 Feb 2015 17:53:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomáš Kyselica <tomas.kyselica <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 24 Feb 2015 17:53:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomáš Kyselica <tomas.kyselica <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Re: possibly sort bug
Date: Tue, 24 Feb 2015 10:01:15 +0100
[Message part 1 (text/plain, inline)]
same problem with:
sort all_nouns -t\t -k3,3 --stable
I think regardless of --stable it should sort third column so that all A1
are first (does not care how other columns are sorted), then all A2, all
B1, all B2, all C1, all C2,
but there are still problems at the end of sorted output.
I have updated via sudo apt-get update all packages, does not help.


On Tue, Feb 24, 2015 at 9:30 AM, Tomáš Kyselica <tomas.kyselica <at> gmail.com>
wrote:

> Dear Sir/Madam,
>
>   I have issuing this command:
>
> cat all_nouns.txt | cut -f1,3 | sort -t\t -k2,1
>
> I expected that second column will be sorted A1,A2,B1,B2,C1,C2, but it is
> only almost true; at the end of file, I see:
> C2
> ... [many C2]
> C2
> B1
> B1
> B2
> B2
> A2
> C1
> A2
> which is not sorted.
> Attaching the file.
>
> Regards
> Tomas Kyselica
>
[Message part 2 (text/html, inline)]

Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 24 Feb 2015 18:31:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19937 <at> debbugs.gnu.org and Tomáš Kyselica <tomas.kyselica <at> gmail.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 24 Feb 2015 18:31:02 GMT) Full text and rfc822 format available.

Merged 19936 19937 19938. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Tue, 24 Feb 2015 19:16:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Mar 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 182 days ago.

Previous Next


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