I'm working on a script and one of the commands is:
E. Exit from UNIX
I have this for the command:
echo "Do you want to exit UNIX"
set reply = $<
if ($reply == 'y') then
if ($reply == 'n') then
echo "Hit <ENTER> to continue: \c"
when I run the script I get this error:
menu: 0403-057 Syntax error at line 83 : `then' is not expected.
How do I get this command to work.
Thanks in advance