I have 2 TSV files: file 1 has columns A, B, C file 2 has columns D
I want to merge them to get file 3 (TSV) which has columns A,B,C,D
I tried doing paste -d, file1 file2 > file3
but after they merge, columns C,D are combined into one column separated by a comma.
Help appreciated. Thanks.
You're forcing the delimiter to be comma. Just remove
-d,
, by default the delimiter is tab.