SHell Script Help! When reading input from a user
Currently I have a portion of a script... its looped with a while-do loop hence for the "breaks"
echo "Are you sure you wish to delete this APP ? (y or n)"
case $DELETEME in
echo "Deleting OS"
echo "Returning to Main Menu, Press Enter to Continue"
echo "Unknown answer returning to the Main Menu, Press E
nter to Continue"
My question is.. When I run this script and this question is asked. My answer is displayed on a new line. Is there any way I can make my answer display on the same line as the question???
So it would look like this
Are you sure you wish to delete this APP ? (y or n) : y
Are you sure you wish to delete this APP ? (y or n)