" Important: FILE1 and FILE2 must be sorted on the join fields."
There is only words above in the manual. it should mention the sort method
at least. I strongly suggest improve the join maunal in the latter
distribution.
Thanks
Michael
--------------------------------------------------
From: "Paul Eggert" <egg...@cs.ucla.edu>
Sent: Wednesday, October 17, 2012 11:14 PM
To: "Michael" <chinali...@hotmail.com>
Cc: <12...@debbugs.gnu.org>
Subject: Re: bug#12659: the join command bug report!
On 10/17/2012 12:19 AM, Michael wrote:
# sort -n file1 > file3
# sort -n file2 > file4
# join file3 file4
That won't work. You have to join with the same
sorting order that you sorted with. This is discussed
in the manual.