读书人

paste_多资料列合并

发布时间: 2012-08-15 16:57:17 作者: rapoo

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

读书人网 >操作系统

热点推荐