I was surprised and a little disappointed that `join(1)` didn't join the list!<p>With the files in the example (order.out.log, order.in.log), to join every record on it's id, you would do something like:<p><pre><code> $ join -j 2 order.out.log order.in.log
111, 8:22:19 1, Patterns of Enterprise Architecture, Kindle edition, 39.99 8:22:20 Order Complete
112, 8:23:45 1, Joy of Clojure, Hardcover, 29.99 8:23:50 Order sent to fulfillment
113, 8:24:19 -1, Patterns of Enterprise Architecture, Kindle edition, 39.99 8:24:20 Refund sent to processing</code></pre>