摘要: 1、测试数据 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据 a 3 5 d s g e z 2、sed 实现 root@PC1:/home/test2# ls test.txt root@PC 阅读全文
posted @ 2022-01-30 23:55 小鲨鱼2018 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt a 3 5 d s g e z root@PC1:/home/test2# cat -A test.txt a 3 5 d$ s g e z$ 2、 阅读全文
posted @ 2022-01-30 23:22 小鲨鱼2018 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据 a 3 5 d s g e z c g w k z c m d 2、xargs实现(数据大时不适用) root@PC1:/home/ 阅读全文
posted @ 2022-01-30 23:11 小鲨鱼2018 阅读(265) 评论(0) 推荐(0) 编辑