i have the following files (all separated by tabs):
file 1.txt
1 yes
2 no
3 yes
4 yes
file 2.txt
a no
b no
c yes
d no
i combine the above files in file 3 which looks like
file 3.txt
1 yes a no
2 no b no
3 yes c yes
4 yes d no
now, i need to compare the values between column 2 and column 4 and produce file 4 which should look like below
1 yes a no no match
2 no b no match
3 yes c yes match
4 yes d no no match
any help will be really appreciate. tia