ivalent of strchr() in C.
==== Substr ====
Shell uses zero-based indexing. When substring expansion of the form ${param:offset[:length} is used, an `offset' that evaluates to a number less th... ram is unset or null, and $param otherwise.
To use negative offsets that begin with a minus sign, s... # ABC
===== Default =====
These operators can be used in a variety of ways. A good example would be t
<code>if [ "$a" != "$b" ]</code>
This operator uses pattern matching within a [[ ... ]] construct.
... at the string be quoted within the test brackets. Using an unquoted string with ! -z, or even just the... g wax, not to mention cabbages and kings . . .
# Using if [ ... ]
# If a string has not been initi... t, but be empty: zmore "" arg2 arg3
then
echo "Usage: `basename $0` filename" >&2
# Error message