开发者

adding a new data column in a file consisting of 4 columns

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜