文件1:
1
2
Run Code Online (Sandbox Code Playgroud)
文件2:
1 2 3
4 5
Run Code Online (Sandbox Code Playgroud)
文件3:
x x x
yy yy
zz
Run Code Online (Sandbox Code Playgroud)
paste file1 file2 file2 给我一个标签分隔输出:
1 1 2 3 x x x
2 4 5 yy yy
zz
Run Code Online (Sandbox Code Playgroud)
paste -d" " file1 file2 file3 给我输出:
1 1 2 3 x x x
2 4 5 yy yy
zz
Run Code Online (Sandbox Code Playgroud)
我想要它如下:
1 1 2 3 x x x
2 4 5 yy yy
zz
Run Code Online (Sandbox Code Playgroud)
如果这是可能的,或者我应该尝试任何其他命令吗?