Sorry for the maybe trivial question.
I fought a bit with the unix join command, trying to get tabs instead of whitespaces as the default separators. -t is
Other way is:
join -t "`echo -e "\t"`" file1 file2`
or in a more bash-fashion:
join -t "$(echo -e "\t")" file1 file