unset or null, and $param otherwise.
To use negative offsets that begin with a minus sign, separate the minus sign and the colon with a space.
<code... a line.
Pattern Matching
There are two kinds of pattern matching available: matching from the left and matching from the right. The operators, with their fu... uestions or comments, please drop me a line.
KSH Pattern-matching Operators
Korn shell's pattern-matching operators.
Operator
Meaning
${variable#pattern}
If the pattern matches the beginnin
al to
<code>if [ "$a" != "$b" ]</code>
This operator uses pattern matching within a [[ ... ]] construct.
----
<
is les... a [ ] construct.
See Example 27-11 for an application of this comparison operator.
----
-z
string is null, that is, has zero length
<code>
String='' # Zero-length ("null") string... ng is not null.
Caution
The -n test requires that the string be quoted within the test brackets. Us