🌈 搜索
📅  最后修改于: 2022-03-11 14:50:03.061000             🧑  作者: Mango
read -a array tot=0 for i in ${array[@]}; do let tot+=$i done echo "Total: $tot"