GNU bug report logs - #8124
sort utilty?

Previous Next

Package: coreutils;

Reported by: Betty J Barr <barr <at> EGR.UH.EDU>

Date: Sat, 26 Feb 2011 19:29:03 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Betty J Barr <barr <at> EGR.UH.EDU>
To: bug-coreutils <at> gnu.org
Cc: BABales <at> uh.edu
Subject: sort utilty?
Date: Sat, 26 Feb 2011 12:28:08 -0600 (CST)
[Message part 1 (text/plain, inline)]
I have used the "unix" sort for years without trouble, but suddenly 
something weird is happening. I have a student whose last name is Khan, 
and a student whose last name is Khanal,. The comma immediately follows 
the last name. Obviously Khan should be sorted before Khanal, both from 
the English standpoint and based on the ASCI code for a comma. But it is 
not. Khanal comes first. Why?
(The two files I have attached are the unsorted version (khan.txt) and the 
one produced by
sort +0.0  -0.14 khan.txt >khan.out

                         Dr. Betty Barr,
                         University of Houston
[khan.txt (text/plain, attachment)]
[khan.out (text/plain, attachment)]

This bug report was last modified 14 years and 144 days ago.

Previous Next


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