#elif [ "$a" == more ]; then
read -p "Number of ports: " select
for (( i = 0; i < $select; i++ )); do
read -p "Input ports: " input
done
read -p "Number of ports: "
for (( i = 0; i < $REPLY; i++ ))
do
read -p "Input port: " ports[i]
done
echo ${ports[@]}