awk列求和计算

awk 列计算

awk 'BEGIN{total=0}{total+=$1}END{print total}'
 
如下为gawk的相关介绍,比较详细,而且比较容易看明白
相关文章
相关标签/搜索