摘要:
001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 1 2 3 4 5 6 [root@PC1 test]# awk '{printf("%s ", $0)} END {printf"\n"}' a.txt 1 2 3 阅读全文
posted @ 2022-12-08 12:21
小鲨鱼2018
阅读(671)
评论(0)
推荐(0)
摘要:
001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt d t d e k c z c e e f t [root@PC1 test]# sed 's/d/9/g' a.txt ## 将d替换为9 9 t 9 e k c z c e e f 阅读全文
posted @ 2022-12-08 11:59
小鲨鱼2018
阅读(1085)
评论(0)
推荐(0)
摘要:
001、 删除a.txt中每一列中=号后面的所有内容 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 AC=2 AF=1.00 AN=2 DP=131 AC=2 AF=1.00 AN=2 DP=152 AC=2 AF=1.00 阅读全文
posted @ 2022-12-08 00:32
小鲨鱼2018
阅读(942)
评论(0)
推荐(0)

浙公网安备 33010602011771号