mirror of https://github.com/MISP/MISP
chg: [tools] ask_o () wants -e (for colorz)
parent
959f4becf3
commit
6ef2d69c10
|
@ -239,7 +239,7 @@ ask_o () {
|
|||
|
||||
while true; do
|
||||
case "${ANSWER}" in "${OPT1}" | "${OPT2}") break ;; esac
|
||||
echo -n "${1} (${OPT1}/${OPT2}) "
|
||||
echo -e -n "${1} (${OPT1}/${OPT2}) "
|
||||
read ANSWER
|
||||
ANSWER=$(echo "${ANSWER}" | tr '[:upper:]' '[:lower:]')
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue