join multiple files

前端 未结 8 2041
春和景丽
春和景丽 2020-12-02 21:11

I am using the standard join command to join two sorted files based on column1. The command is simple join file1 file2 > output_file.

But how do I join 3 or more fil

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 22:04

    Join joins lines of two files on a common field. If you want to join more - do it in pairs. Join first two files first, then join the result with a third file etc.

提交回复
热议问题