Help for this page
sort -t$'\t' -k 2,2 file1 >file1a sort -t$'\t' file2 >file2a join -t$'\t' -1 2 file1a file2a >file3