GNU bug report logs - #9562
unexpected sort behaviour

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 9561

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: vijay krishna <krishna.vijay4444 <at> gmail.com>
To: 9562 <at> debbugs.gnu.org
Subject: bug#9562: unexpected sort behaviour
Date: Tue, 20 Sep 2011 04:51:51 -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 -k 2 bug2_file2
512 b1
512 b101

0 $ sort bug2_file1
b101 512
b1 512

0 $ sort -k 1 bug2_file1
b101 512
b1 512
------------------

  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)]

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.