o%%t*is}
NOTE
While the # and % identifiers may not seem obvious, they have a convenient mnemonic. Th... on a dossy system
# only handles file extensions, not filenames
for i in *.html; do
if [ -f ${i%l} ]... ion Example
${foo:-bar} If $foo exists and is not null, return $foo. If it doesn't exist or is null... ne
echo $foo
${foo:=bar} If $foo exists and is not null, return $foo. If it doesn't exist or is null
> if [ "$a" -eq "$b" ]</code>
----
-ne
is not equal to
<code> if [ "$a" -ne "$b" ]</code>
-... al to z* (literal matching).
</code>
----
!=
is not equal to
<code>if [ "$a" != "$b" ]</code>
This ... String is null."
else
echo "\$String is NOT null."
fi # $String is null.
</code>
----
-n
string is not null.
Caution
The -n test requires that the st