paste__多文件列合并


Linux的文本处理强啊

paste   file1   file2


原始文件 file1:
aaaa
bbbb
cccc


原始文件 file2:
1111
2222
3333


合并后的文件 file3:
aaaa 1111
bbbb 2222
cccc 3333

其它命令:
       -d, --delimiters=LIST
              reuse characters from LIST instead of TABs

       -s, --serial
              paste one file at a time instead of in parallel

       --help display this help and exit

       --version
              output version information and exit

你可能感兴趣的:(linux)