摘要: #!/bin/bash #b=1 #while [[ b=1 ]] #do #sleep 1 student=(1 DPL YPD LT ZZM HY CQW LSJ ybr) a=$[RANDOM%4+3] c=$[RANDOM%2+1] echo ----------------------------------- echo $a号 ${student[$a]} echo $(($a+$c... 阅读全文