in reply to Joining two files on common field
see "man join" for the various options to get the output the way you need it (espically if you want to show unmatched lines)[davidrw@host davidrw]$ join -t , -1 1 -2 4 /tmp/f1 /tmp/f2 upc,qty,product_sku,size,color 840197083284,2,121,LG,Black 840197083291,3,121,XL,Black 840197083307,21,121,2XL,Black
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Joining two files on common field
by ambrus (Abbot) on Apr 12, 2006 at 12:59 UTC | |
|
Re^2: Joining two files on common field
by ch1 (Novice) on Sep 22, 2005 at 23:01 UTC | |
by davidrw (Prior) on Sep 23, 2005 at 02:08 UTC | |
by ch1 (Novice) on Sep 23, 2005 at 04:57 UTC | |
by ambrus (Abbot) on Sep 23, 2005 at 16:02 UTC | |
by davidrw (Prior) on Sep 23, 2005 at 12:47 UTC |