GNU bug report logs - #9561
Sort behaves differently

Previous Next

Package: coreutils;

Reported by: vijay krishna <krishna.vijay4444 <at> gmail.com>

Date: Tue, 20 Sep 2011 16:23:02 UTC

Severity: normal

Tags: notabug

Merged with 9562

Done: Eric Blake <eblake <at> redhat.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 9561 in the body.
You can then email your comments to 9561 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#9561; Package coreutils. (Tue, 20 Sep 2011 16:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to vijay krishna <krishna.vijay4444 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 20 Sep 2011 16:23:02 GMT) Full text and rfc822 format available.

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

From: vijay krishna <krishna.vijay4444 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Sort behaves differently
Date: Tue, 20 Sep 2011 04:46:49 -0700
[Message part 1 (text/plain, inline)]
Hello Team,

  May I please know the reason for the following behaviour of the sort
command...

------------------
0 $ sort bug1_file1
b103i/pass.txt
b103/pass.txt
0 $ sort bug1_file2
b103/done.txt
b103i/done.txt
------------------

  The output is same with options  '-s', '-g', '-n', '-d' (used one at a
time) also.



------------------
0 $ sort --version
sort (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.


Regards,
Krishna
[Message part 2 (text/html, inline)]

Forcibly Merged 9561 9562. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Tue, 20 Sep 2011 17:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 9561-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: vijay krishna <krishna.vijay4444 <at> gmail.com>
Cc: 9561-done <at> debbugs.gnu.org
Subject: Re: bug#9561: Sort behaves differently
Date: Tue, 20 Sep 2011 11:36:52 -0700
"sort --help" explains your problem, I expect:

  *** WARNING ***
  The locale specified by the environment affects sort order.
  Set LC_ALL=C to get the traditional sort order that uses
  native byte values.

Hmm, perhaps we should change the output of "sort --help"?
We could change this:

  Report sort bugs to bug-coreutils <at> gnu.org

to this:

  Please use the --debug option when reporting bugs.
  Report sort bugs to bug-coreutils <at> gnu.org




Message #9 received at 9561-done <at> debbugs.gnu.org (full text, mbox):

From: vijay krishna <krishna.vijay4444 <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 9561-done <at> debbugs.gnu.org
Subject: Re: bug#9561: Sort behaves differently
Date: Wed, 21 Sep 2011 08:17:04 +0530
[Message part 1 (text/plain, inline)]
Hello Paul,

    Just thought of informing you.
I could not find  '--debug' option in the sort help.
Sort could not even recognize the option.

Currently I am using the following version of sort.
Kindly inform if a latest version is available.

0 $ sort --version
sort (GNU coreutils) 8.5
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and Paul Eggert.
0 $ sort --debug
sort: unrecognized option '--debug'
Try `sort --help' for more information.

---
Regards,
Krishna

On Wed, Sep 21, 2011 at 12:06 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> "sort --help" explains your problem, I expect:
>
>  *** WARNING ***
>  The locale specified by the environment affects sort order.
>  Set LC_ALL=C to get the traditional sort order that uses
>  native byte values.
>
> Hmm, perhaps we should change the output of "sort --help"?
> We could change this:
>
>  Report sort bugs to bug-coreutils <at> gnu.org
>
> to this:
>
>  Please use the --debug option when reporting bugs.
>  Report sort bugs to bug-coreutils <at> gnu.org
>
[Message part 2 (text/html, inline)]

Message #10 received at 9561-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: vijay krishna <krishna.vijay4444 <at> gmail.com>
Cc: 9561-done <at> debbugs.gnu.org
Subject: Re: bug#9561: Sort behaves differently
Date: Tue, 20 Sep 2011 20:59:32 -0700
On 09/20/11 19:47, vijay krishna wrote:
> I could not find  '--debug' option in the sort help.
> Sort could not even recognize the option.

I suggest trying the latest version, 8.13:

ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.13.tar.gz




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

This bug report was last modified 13 years and 325 days ago.

Previous Next


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