buyiyang 当前离线
中尉
gawk "function cmp_num(i1,v1,i2,v2){return (v1<v2?1:(v1>v2?-1:(i1<i2?-1:(i1>i2?1:0))))}{n=NF;while(i=n--)if(i%%2==0)A[$(i-1)]+=$i}END{PROCINFO[\"sorted_in\"]=\"cmp_num\";for(i in A){print i\" \"A[i]}}" D:\DATA\A.txt >B.txt复制代码
评分人数
TOP