摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据如下 a 8 a 3 b 2 e 2 d 10 b 3 b 7 e 4 [root@PC1 test]# awk '{ay[$1] += $2; ay2[$1]++} E 阅读全文
posted @ 2024-09-01 22:28 小鲨鱼2018 阅读(29) 评论(0) 推荐(0) 编辑