====== String Operations in Bash/Shell ======
Quelle((http://www.softpanorama.org/Scripting/Shellorama/Reference/string_operations_in_shell.shtml))
===== Length Operator =====
There are t... equivalent of strchr() in C.
==== Substr ====
Shell uses zero-based indexing. When substring expansio... he problem is that ${param:-word} already has a well-defined meaning: expand to word if the expanded v
====== Bash Shell Tests ======
Quelle((http://tldp.org/LDP/abs/html/comparison-ops.html))
===== Other... 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 null."
else
echo "\$String is NOT null."