bug-coreutils
[Top][All Lists]
Advanced

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

Re: join problem


From: Eric Blake
Subject: Re: join problem
Date: Thu, 03 Aug 2006 01:34:23 +0000

> 
> I believe there is a problem with your join function.
> 
> 
> I have attached two text files as an example.  No matter whether they 
> are sorted default or -n, join fails to account for all the matches...?  
> I am super frustrated...the same join works on our mac osx cluster if 
> the files re sorted default, but not on our Linux cluster.  Can you help me?

Are you sure they are sorted correctly for your locale?  The difference
may be explained by different locales on your two machines.  Try
LC_ALL=C before sort and join to ensure you are in the POSIX locale,
to see if that makes a difference.
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

-- 
Eric Blake




reply via email to

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