[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in join
From: |
Paul Eggert |
Subject: |
Re: Bug in join |
Date: |
20 May 2003 16:42:35 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Cezary Sobaniec <address@hidden> writes:
> Question: why join sorts the lines in a different order when compared
> to sort with the same settings (field separator, LC_COLLATE)?
It shouldn't; the order should be the same, so long as you use the
same locale and -t option in both cases.
I can't reproduce the problem with coreutils 5.0
<ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.gz>
on Solaris 8 (sparc).
Can you please try vanilla 5.0? Perhaps there's something wrong
with the SuSE version of 4.5.8.
Another possibility is that your locale is messed up somehow.
What is the output of the "locale" command?
> $ cat F1
> a2 x
> $ cat F2
> a x
> a2 x
> $ join -k 1,1 F1 F2
> a2 x x
But coreutils 'join' doesn't have a -k option. This leads me to
wonder whether your problem has something to do with SuSE's changes to
'join'.
- Bug in join, Cezary Sobaniec, 2003/05/20
- Re: Bug in join,
Paul Eggert <=