0
点赞
收藏
分享

微信扫一扫

Shell/Linux 将一个文件中的每两行合并成一行

梦幻之云 2023-11-01 阅读 49

 

# 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 条评论