方法1:
exec <file
sum=0
while read line;do
cmd
done
方法2:
cat ${FILE_PATH} |while read line
do
方法3:
while read line
done<FILE