[Top][All Lists]

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

bug#8040: join 5.97 bug

From: Eric Blake
Subject: bug#8040: join 5.97 bug
Date: Mon, 14 Feb 2011 17:39:31 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/14/2011 05:18 PM, Eric Blake wrote:
> Thanks for the report.  I can't help but wonder if you've stumbled into
> this:
> http://www.gnu.org/software/coreutils/faq/#join-requires-sorted-input-files
> join --help reminds you that:
> 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.

We ought to update our FAQ to include this example (right now, the FAQ
answer only talks about sorting by locale, but doesn't do a good job of
describing the join field or the extra options to make sort pick out the
join field).

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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