Joining Multiple Fields Using Unix Join
- by neversaint
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?