the variable as a character string. For example, if filename has the value fred.c, then ${#filename} ... lready has a well-defined meaning: expand to word if the expanded value of param is unset or null, and... >
Extracts substring from $string at $position.
If the $string parameter is "*" or "@", then this ex... # Three characters of substring.
If the $string parameter is "*" or "@", then this ex
comparison ====
----
-eq
is equal to
<code> if [ "$a" -eq "$b" ]</code>
----
-ne
is not equal to
<code> 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