ns in Bash/Shell ======
Quelle((http://www.softpanorama.org/Scripting/Shellorama/Reference/string_ope... le would be to give a default value to a variable normally read from the command-line arguments, when no such arguments are given. This is shown in the fo... export $foo="this is a test" echo ${foo%%t*is}
NOTE
While the # and % identifiers may not seem obvi
> if [ "$a" -eq "$b" ]</code>
----
-ne
is not equal to
<code> if [ "$a" -ne "$b" ]</code>
... to
<code>if [ "$a" == "$b" ]</code>
This is a synonym for =.
Note
The == comparison operator behaves differently within a double-brackets test th... al to z* (literal matching).
</code>
----
!=
is not equal to
<code>if [ "$a" != "$b" ]</code>
This