mirror of https://github.com/MISP/MISP
chg: [tools] ask_o () wants -e (for colorz) (#4764)
chg: [tools] ask_o () wants -e (for colorz)pull/4769/head
commit
53bddddb8e
|
@ -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