sion of the form ${param:offset[:length} is used, an `offset' that evaluates to a number less than zero counts back from the end of the expanded value of ... ns with a minus sign, however, unexpected things can happen. Consider
<code>
a=12345678
echo ${a:-... # ABC
===== Default =====
These operators can be used in a variety of ways. A good example woul
f [ "$a" -ne "$b" ]</code>
----
-gt
is greater than
<code> if [ "$a" -gt "$b" ]</code>
----
-ge
is greater than or equal to
<code>if [ "$a" -ge "$b" ]</code>
----
-lt
is less than
<code>if [ "$a" -lt "$b" ]</code>
----
-le
is less than or equal to
<code>if [ "$a" -le "$b" ]</code>
--