Erik-joix
2004-05-12, 05:17 PM CDT
Hi guys.
I put the read command in a script of mine in a while loop and everytime i enter something (a number) into the read variable (number), read, starts a new line but i want the cursor to stay at the same position or the text that is drawn to be drawn at the same place.
read -p "What's the number? " number
I put the read command in a script of mine in a while loop and everytime i enter something (a number) into the read variable (number), read, starts a new line but i want the cursor to stay at the same position or the text that is drawn to be drawn at the same place.
read -p "What's the number? " number