前言
博主github
博主个人博客http://blog.healerjean.com
1、xargs
1.1、文本内容相关
healerjean$ cat -n text.txt
1 a b c d e f g
2 h i j k l m n
3 o p q
4 r s t
1.1.1、| xargs 单行输出文本所有内容
healerjean$ cat text.txt | xargs
a b c d e f g h i j k l m n o p q r s t
1.1.2、| xargs -n4 选择每行打印多少个(按照空格和换行来进行分组)
-n多行输出:后面直接加数字
he