Bug in sort v5.2.1

2004-06-02 Thread Reg. Charney
I believe that sort in coreutils v5.2.1 has a basic bug in it - it seems to treat the 
period (.) as a non-existant character. Here is an example:

$cat sample
a.z
ab.a
a.c

$sort sample
ab.a
a.c
a.z

This would be correct if we were to ignore the periods - the sort order would be aba, 
ac, az. I believe the order should be a.c, a.z, ab.a

Reg. Charney
___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: Bug in sort v5.2.1

2004-06-02 Thread Paul Eggert
Reg. Charney [EMAIL PROTECTED] writes:

 I believe that sort in coreutils v5.2.1 has a basic bug in it - it
 seems to treat the period (.) as a non-existant character.

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


___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils