I have two tab delimited files: File 1: 12 rows and 1 column File 2: 12 rows and 4 columns
I want to merge these two files i.e., I have a new file of 12 rows and 5 columns (last column should be from file 1.
An开发者_开发问答y suggestions for shell script
You can use paste
for that:
paste file2 file1
精彩评论