Select is deprecated use choose
yesno msg
calls read in a loop until one of the valid answers are provided; This can be used in place of select builtin as it takes less space. All the options to read can be passed.
Though possible, you must not use -a and should not specify a variable for read for choose to work properly (instead use -V var).Also, you may specify -p prompt to override the default prompt for selection.
_Num_ specifies number of items in the list after which options to read start.
In POSIXLY_CORRECT mode, -d, -a, -e, -s, -i, -n , -N, -t, -C are ignored and have no effect
yesno calls choose with y yes n no as valid answers and "msg ([y]es/[n]o)? " as prompt. If the answer is y or yes(case insensitive) returns 0 or else returns non-zero.