rations in Bash/Shell ======
Quelle((http://www.softpanorama.org/Scripting/Shellorama/Reference/strin... h Operator =====
There are two way to get length of the string.
The simplest one is ${#varname}, which returns the length of the value of the variable as a character string. For example, if filename has the value fred.c, then
construct.
See Example 27-11 for an application of this comparison operator.
----
-z
string is null... comparisons on variables
#+ whose value consists of all-integer characters.
# Caution advised, howev... r.
exit $E_NOARGS
# Returns 65 as exit status of script (error code).
fi
filename=$1
if [ ! -f... desired.
exit $? # Script returns exit status of pipe.
# Actually "exit $?" is unnecessary, as th