bug-coreutils
[Top][All Lists]
Advanced

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

sort on multicolumn files


From: P Kensche
Subject: sort on multicolumn files
Date: Thu, 16 Feb 2006 12:12:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.4.3) Gecko/20040803

Hello,

I use 4.5.3 from coreutils 5.93 and have a problem with sort.

File a:
a-1     1
a       0

is sorted by "sort -k 1 a" to
a       0
a-1     1


In contrast file b:
a               a       B
a-1             b       G

is sorted by "sort -k 1 b" to
a-1             b       G
a               a       B

I assume that the sorting of file b is not correct (because it is not lexicographical?). Anyway - in this combination of outputs sort unusable in combination with join (which is exactly what I tried to do).

Is this a bug?

Regard,
   Philip






reply via email to

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