Bash
Bash
(Bash as an example)
if [ $a != $b ] ; then
echo "$a is not equal to $b."
echo "(string comparison)"
fi
Note: Be extremely careful with the syntax.
var0=0
while [ "$var0" -lt 10 ]
do
echo "$var0 "
var0=`expr $var0 + 1`
done