and ...
* keep the same form throughout for your code ... inconsistent coding styles make debugging a lot harder regardless of who's doing it ... look at the 3 "if" forms below that people use in ksh scripting --- they do the same things but debugging could be prolonged if you used all of them in the same script instead of just 1 as the patterns are different ...
Code:
form 1:
if [ cond ]; then
command
fi
form 2:
if [ cond ]
then
command
fi
form 3:
[ cond ] && command