diff --git a/demo.sh b/demo.sh index 7e6ea4c..97ca120 100644 --- a/demo.sh +++ b/demo.sh @@ -46,7 +46,7 @@ function cmd() { while : ; do prompt - read command + read -e command [ "$command" != "end" ] && eval "${command}" || break [ "$1" ] && break done