摘要:
001、shell实现 [root@pc1 test2]# ls a.txt [root@pc1 test2]# cat a.txt ## 测试数据 a 8 b 3 a 9 a 2 b 3 c 7 c 2 c 10 [root@pc1 test2]# for i in a b c; do grep 阅读全文
摘要:
001、 [root@pc1 test2]# ls a.txt [root@pc1 test2]# cat a.txt ## 测试数据 ab cd kk jj ee rr tt tt ss nn bb rr [root@pc1 test2]# rev a.txt | sed 's/ /_/' | r 阅读全文