Joining Multiple Fields Using Unix Join
Posted
by neversaint
on Stack Overflow
See other posts from Stack Overflow
or by neversaint
Published on 2010-04-12T02:30:00Z
Indexed on
2010/04/12
2:33 UTC
Read the original article
Hit count: 691
How can I do it?
I have a file that looks like this
foo 1 scaf 3
bar 2 scaf 3.3
File2 looks like this
foo 1 scaf 4.5
foo 1 boo 2.3
bar 2 scaf 1.00
What I want to do is to fine lines that co-occur in file1 and file2 when field 1,2,3 are the same.
Is there a way to do it?
© Stack Overflow or respective owner