I am writing a script at the moment that prints an option menu for the user, when the user hits a number, they call a kshell script... like the ( not working ) example below, can somebody help me
awk '
BEGIN {
printf("Enter Number: "
}
$1 ~ /^[0-9]+$/ {
number = $1
if (number==0)
./script - this is where I am having problems
}
Thanks
awk '
BEGIN {
printf("Enter Number: "
}
$1 ~ /^[0-9]+$/ {
number = $1
if (number==0)
./script - this is where I am having problems
}
Thanks