in reply to matching two files and print together the inputs
awk 'NR==FNR{a[$1]=$2;next}$1 in a{print $1,a[$1],$2} ' fileA fileB [download]