Quote:
Originally Posted by bkan77
Sir according to the script if the user enters either N/n then the script must ask him to enter a valid number,instead here its gng to the nxt step and executuing it
thnks
|
Not according to the script you posted....
Code:
echo "\nAre you sure you entered the right Destination Environment? y[n] : \c \n"
read ans
case ${ans} in
y/Y)
*);;
esac
Nothing about case "N", nothing about "valid number". Your case statement is just plain wrong.