[adding the list] On 01/08/2013 11:01 AM, Bernhard Voelker wrote: > Hi Eric, > > thanks, it seems like we understood Mohanad's question > the same way ;-) > > On 01/08/2013 06:50 PM, Eric Blake wrote: >> join <(join <(cat -n one) <(cat -n two)) <(cat -n three) > > My join (Git latest) only accepts FILE1 and FILE2, > but not a third file. Did I miss something?
Yep - my level of parenthesis. Your solution is the same as mine in using two join processes, with the second using stdin produced by the output of the first; I just nested them via bash <() process substitution instead of pipes. However, it does beg the question - is there any technical reason WHY join must not accept more than two files? It seems like that might be a nice GNU extension. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
