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 ... # 15
echo `expr "$stringZ" : '.*'` # 15
Length of Matching Substring at Beginning of String
expr m
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