used, an `offset' that evaluates to a number less than zero counts back from the end of the expanded val... mechanism (see below). basename is less efficient than ${variable##/*} because it runs in its own separate process rather than within the shell. Another utility, dirname(1), do... understand that these use shell "globbing" rather than "regular expressions" to match these patterns. Na
if [ "$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>
--