标签:mil loop bin span das ubuntu art .sh shel
执行脚本报错
#!/bin/bash s=0 for (( i=1; i<=100; i++ )) do s=$(( $s + $i )) done echo $s
sh add.sh 报错:
linux shell scripts:Syntax error: Bad for loop variable
标签:mil loop bin span das ubuntu art .sh shel
原文地址:http://www.cnblogs.com/zhchoutai/p/6747755.html