bug-textutils
[Top][All Lists]
Advanced

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

sort 2.0 does dictionary compare rather than ascii compare.


From: Maurice Cinquini
Subject: sort 2.0 does dictionary compare rather than ascii compare.
Date: Mon, 30 Oct 2000 13:43:50 -0800

The sort order with no options seems to case insensitive.
E.g., with 

sort <<EOF
A
a
B
b
EOF

I get 
A
a
B
b

instead of
A
B
a
b

FYI, sort --version says:
  sort (GNU textutils) 2.0
  Written by Mike Haertel.

  Copyright (C) 1999 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm using Red Hat Linux 6.2 + Glibc 2.1.2

uname -a says:
  Linux purge.speedera.net 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 
unknown

I tried recompiling with textutils-2.0 but got the same issue.
the test cases pass, but I I note that no exiting test case covers this.

______________________________________________________________________

Maurice Cinquini            Senior Software Engineer
address@hidden      Speedera Networks
Work (408) 970 1502         4800 Great America Pwky, Suite 220
Fax  (408) 855 9543         Santa Clara, CA 95054-1227 USA
______________________________________________________________________

This message is for the named person(s) use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender.  You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. SPEEDERA NETWORKS, INC. reserves the right to
monitor all e-mail communications through its network.



reply via email to

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