eval {,,}'read -N1 a;d[a]=;' e=(${!d[@]}) echo $[e[2]-e]