join file1 file2
Saída:
chr1:66997824-67000456 ZNF333 Refseq#1 chr1:66997824-67000456 EGR1 Refseq#1 chr1:66997824-67000456 MZF-1 Refseq#1 chr22:51221989-51222166 Zic2 Refseq#22 chr22:51221989-51222166 ZF5 Refseq#22
ou
join file1 file2 | awk '{OFS=" ";print $1,$2,$3}'
Saída:
chr1:66997824-67000456 ZNF333 Refseq#1 chr1:66997824-67000456 EGR1 Refseq#1 chr1:66997824-67000456 MZF-1 Refseq#1 chr22:51221989-51222166 Zic2 Refseq#22 chr22:51221989-51222166 ZF5 Refseq#22