hi,
im creating a a korn shell script , and when i use the "if, elif" command, it only executes the first command immediately after the if statement
so this is what i want to do:
if ((some condition)) then
command1;
command 2;
elif((some condition)) then
command 3;
command 4;
etc...
what is the syntax for that???
thanks, much help is appreciated
im creating a a korn shell script , and when i use the "if, elif" command, it only executes the first command immediately after the if statement
so this is what i want to do:
if ((some condition)) then
command1;
command 2;
elif((some condition)) then
command 3;
command 4;
etc...
what is the syntax for that???
thanks, much help is appreciated