GNU bug report logs - #16468
join

Previous Next

Package: coreutils;

Reported by: barry kesner <modockesner <at> gmail.com>

Date: Thu, 16 Jan 2014 17:07:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: barry kesner <modockesner <at> gmail.com>, 16468 <at> debbugs.gnu.org
Subject: bug#16468: join
Date: Thu, 16 Jan 2014 10:15:04 -0700
[Message part 1 (text/plain, inline)]
On 01/16/2014 08:29 AM, barry kesner wrote:
> join is failing on large numbers somehow
> 

> 
> Join fails to join properly only giving 99980081
> if I prefix the 9's with a 0 join does not fail

Sounds to me like you didn't heed this advice in the --help text:

Important: FILE1 and FILE2 must be sorted on the join fields.
E.g., use "sort -k 1b,1" if 'join' has no options,
or use "join -t ''" if 'sort' has no options.
Note, comparisons honor the rules specified by 'LC_COLLATE'.
If the input is not sorted and some lines cannot be joined, a
warning message will be given.

Does running 'LC_ALL=C join' change the behavior for you, in which case
it was an issue of your choice of LC_COLLATE?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.