摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 30 y 10 t 40 d 20 w ## 借助数组来实现 [root@PC1 test]# awk '{ay[NR] = $1; sum += $1} END {f 阅读全文
posted @ 2023-05-25 16:53 小鲨鱼2018 阅读(170) 评论(0) 推荐(0) 编辑