假设我有两个名为 A 和 B 的 CSV 文件/home/user位于Ubuntu. 要追加的命令是B什么A?我更喜欢不复制A但会接受不遵守此偏好的答案的命令。
我已经询问过的情况,Python但这个问题不是关于Python.
A的头是这样的:
headerNameA1,headerNameA2
1.12412424,1
1,1
1,1
1,1
B的头看起来像:
headerNameB1,headerNameB2
1,1
1,1
1,1
1,1
我的目标是将 B 附加到 A 上,以便 A 看起来像:
headerNameA1,headerNameA2,headerNameB1,headerNameB2
1,1,1.12412424,1
1,1,1,1
1,1,1,1
1,1,1,1