I would like to merge two files and plus the second column from two files.file1.001    A002    B003    C004    Dfile2.002    D003    D005    E006    Fshould be merged into file 3 as below.001    A002    BD003    CD004    D005    E006    FI run the following command but output was not correct$ awk 'FNR==NR{a[$1]=$2; next}{print $1, a[$1]$2}' file1 file2002    BD003    CD005    E006    FPlease help how I can merge use awk or sed.
Merge two files and plus the second column using AWK
awk