"Q"
09-20-2003, 01:58 PM
How do I get the shell script to jump back up and exicute code again.
I am trying to take a basic user imput and validate it.
To gain the data I am using "read"
Then running it into "case"
I have 3 options.
First two are appropiate data but the last one is * to pick up anything else and then prompt for the correct input.
My problem is of course that the script executes straight through. So how do I get it to go back up to prompt for the "read" again?
Thanks
matt
I am trying to take a basic user imput and validate it.
To gain the data I am using "read"
Then running it into "case"
I have 3 options.
First two are appropiate data but the last one is * to pick up anything else and then prompt for the correct input.
My problem is of course that the script executes straight through. So how do I get it to go back up to prompt for the "read" again?
Thanks
matt