摘要: 1、测试数据 [root@centos79 test]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 2、生成中间文件,假设4行为一列 [root@centos79 test]# cat a.txt 01 阅读全文
posted @ 2021-07-25 23:59 小鲨鱼2018 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos79 test]# cat a.txt e t c i w s g g d z c i o n m 2、转换为一行 [root@centos79 test]# cat a.txt e t c i w s g g d z c i o n m [root@cento 阅读全文
posted @ 2021-07-25 23:36 小鲨鱼2018 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos79 test]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 阅读全文
posted @ 2021-07-25 23:21 小鲨鱼2018 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos79 test]# cat a.txt 3 f k i s d g k z v m x e 5 8 y 2、xargs [root@centos79 test]# cat a.txt 3 f k i s d g k z v m x e 5 8 y [root@c 阅读全文
posted @ 2021-07-25 00:05 小鲨鱼2018 阅读(554) 评论(0) 推荐(0) 编辑