View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#10
There's elif, too:
Code:
if ... ; then
  ...
elif ... ; then
  ...
elif ... ; then
  ...
elif ... ; then
  ...
else
  ...
fi
Yeah, it could be done with else and if, but then you'd have to go fi-fi-fi-fi at the end...