saibsk
asked on
nested ifs in korn shell scripting
I want to write nested if statement in korn Shell script
if
then
----
elif
then
----
within the elif I want to write another if statement
else
---
fi
Please advise.
if
then
----
elif
then
----
within the elif I want to write another if statement
else
---
fi
Please advise.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To clarify ozo's code block. You don't need to do anything special. You can nest if's just as in other languages.