#!/bin/bash
#b=
#while [[ b= ]]
#do
#sleep 1 student=( DPL YPD LT ZZM HY CQW LSJ ybr)
a=$[RANDOM%+]
c=$[RANDOM%+]
echo -----------------------------------
echo $a号 ${student[$a]}
echo $(($a+$c))号 ${student[$(($a+$c))]}
echo $(($a-$c))号 ${student[$(($a-$c))]}
echo -----------------------------------
#done
~
~
~
~