====== String Operations in Bash/Shell ======
Quelle((http://www.softpanorama.org/Scripting/Shellorama/Reference/string_operations_in_shell.shtml))
===== Length Operator =====
There are two way to get length of the string.
The simplest one is ${#varname}, which returns ... ength of the value of the variable as a character string. For example, if filename has the value fred.c, t
parentheses)
<code>(("$a" >= "$b"))</code>
==== string comparison ====
=
is equal to
<code>if [ "$a"... application of this comparison operator.
----
-z
string is null, that is, has zero length
<code>
String='' # Zero-length ("null") string variable.
if [ -z "$String" ]
then
echo "\$String is nu