awk对列求和

awk 'BEGIN{total=0}{total+=$1}END{print total}' 文件名

posted on 2013-11-18 15:46  语辰  阅读(308)  评论(0)    收藏  举报