shell不用awk实现列求和刚学shell如果用awk确实很方便但是有没有大神知道如何不用awk实现列求和?[解决办法]test如上,运行$declare -i line=0;for line in $(cat test) ;do let line+=line;done;echo $line