ngZ" : '.*'` # 15
Length of Matching Substring at Beginning of String
expr match "$string" '$subst... ion in $string of first character in $substring that matches.
<code>
stringZ=abcABC123ABCabc
echo `ex... rm ${param:offset[:length} is used, an `offset' that evaluates to a number less than zero counts back ... the last four characters of $a. The problem is that ${param:-word} already has a well-defined meaning
< "$b" ]]
if [ "$a" \< "$b" ]
</code>
Note that the "<" needs to be escaped within a [ ] construc... > "$b" ]]
if [ "$a" \> "$b" ]
</code>
Note that the ">" needs to be escaped within a [ ] construc... s comparison operator.
----
-z
string is null, that is, has zero length
<code>
String='' # Zero-len... ng is not null.
Caution
The -n test requires that the string be quoted within the test brackets. Us