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 [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
