linux对文件某列求和

对文件某列求和:

-F,用,号分隔,求第3行的和

awk -F,  '{sum += $3};END {print sum}' test

原文地址:https://www.cnblogs.com/andashu/p/6410028.html