en_US.UTF-8

# sort -n file1 > file3
# sort -n file2 > file4

# join file3 file4 | wc -l
19
# sort file3 file4 | uniq -d | wc -l
4698
#

There are only numbers in my both joined files, I have realized that join does not support numeric sort method for the time being. if sort without option '-n', the result after joining was correct.

Michael

--------------------------------------------------
From: "Paul Eggert" <egg...@cs.ucla.edu>
Sent: Wednesday, October 17, 2012 12:10 AM
To: "Michael" <chinali...@hotmail.com>
Cc: <12...@debbugs.gnu.org>
Subject: Re: bug#12659: the join command bug report!

Sounds like a locale problem.  What does the "locale"
command say?  How exactly are you invoking 'sort' and
'join'?  What do the input and output lines look like?




Reply via email to