日期:2014-05-16 浏览次数:20909 次
#!/bin/bash for((i=1;i<=100;i++)); do for((j=2;j<=i/2;j++)); do if [[ $(( $i % $j )) == 0 ]]; then echo $i fi done done