3 if ($2 == "yesno") then
5 set pmpt = "$1 [$ny[$i]]: "
10 set pmpt = "$1 [$3]: "
18 set tmp = `echo $input | tr -d 0123456789.`
19 if ("x$tmp" != x) then
20 echo "Invalid number. Please try again."
26 set tmp = `echo $input | tr -d 0123456789`
27 if ("x$tmp" != x) then
28 echo "Invalid integer. Please try again."
34 if ("x$input" != x-1) then
35 set tmp = `echo $input | tr -d 0123456789`
36 if ("x$tmp" != x) then
37 echo "Invalid integer. Please try again."
44 if ("x$input" == "x") then
47 if (! -e "$input") then
48 echo The file $input "does not exist. Please try again."
54 if ("x$input" == "x") then
57 if (! -e "$input") then
59 if (-e "$elt/$input") breaksw
61 echo The command $input "was not found. Please try again."
67 if ("x$input" == xy || "x$input" == xyes) then
69 else if ("x$input" == xn || "x$input" == xno) then
71 else if ("x$input" != x) then
72 echo 'Please answer "yes" or "no".'
82 if ("x$input" == x) then