[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8124: sort utilty?

From: Betty J Barr
Subject: bug#8124: sort utilty?
Date: Sat, 26 Feb 2011 12:28:08 -0600 (CST)
User-agent: Alpine 2.00 (LRH 1167 2008-08-23)

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

Attachment: khan.txt
Description: Text document

Attachment: khan.out
Description: Trying to attach two files

reply via email to

[Prev in Thread] Current Thread [Next in Thread]