Hi,
Can I do the following in a case statement of a ksh script;
Check to see if my variable SIZE is >100, >200, >300 etc. If so what is the syntax?
case $SIZE in
>100)
What is the correct syntax for >100, if this is possible?
>200)
...
esac
I can do this with a series of if statements, but was hoping that there was something cleaner.
Any help appreciated.
Can I do the following in a case statement of a ksh script;
Check to see if my variable SIZE is >100, >200, >300 etc. If so what is the syntax?
case $SIZE in
>100)
What is the correct syntax for >100, if this is possible?
>200)
...
esac
I can do this with a series of if statements, but was hoping that there was something cleaner.
Any help appreciated.