diff --git a/scripts/interactive.sh.clean b/scripts/interactive.sh.clean index 1fdf417..0a9745d 100755 --- a/scripts/interactive.sh.clean +++ b/scripts/interactive.sh.clean @@ -6,7 +6,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v1.20-0-g2ab00a2 +#### $$VERSION$$ v1.21-pre-42-g64400cd ###### # parameters @@ -31,10 +31,10 @@ INPUT="${3:-/dev/stdin}" # read -r variable <"${INPUT}" # example wait form user input and echo it -echo "Enter a message:" +printf "Enter a message:\n" read -r test <"${INPUT}" -echo -e "Your Message: ${test}\nbye!" +printf "%s\n" "Your Message: ${test}\nbye!" # your commands ends here