# cat > test.txt
1
2
3
4
5
6
# more test.txt
1
2
3
4
5
6
# xargs -l2 < test.txt | more
1 2
3 4
5 6
Shell/Linux 将一个文件中的每两行合并成一行
阅读 49
2023-11-01
# cat > test.txt
1
2
3
4
5
6
# more test.txt
1
2
3
4
5
6
# xargs -l2 < test.txt | more
1 2
3 4
5 6
相关推荐
精彩评论(0)