#/bin/bash jw=(name1,name2,name3......name39) for i in {1..3} do a=$(date +%N) b=$(expr $a % 39) echo "学号:"$[$b + 1]" "${jw[$b]} done
时间: 2024-11-05 18:48:47
#/bin/bash jw=(name1,name2,name3......name39) for i in {1..3} do a=$(date +%N) b=$(expr $a % 39) echo "学号:"$[$b + 1]" "${jw[$b]} done