est possible match from the right export $foo="thisis a test" echo ${foo%%t*is}
NOTE
While the # and % identifiers may not see... is not null, return bar. If it doesn't exist, or is null, return a null. export foo="thisis a test"
echo ${foo:+bar}
bar
${foo:?"error mess... le filename Function
Returns true if filename is not the empty string, is a file and is readable.
mbfl_file_is_writable filename Function
Returns true if filename is not the empty string, is a file and is writable.
mbfl_file_is_directory directory F
is equal to
<code>if [ "$a" == "$b" ]</code>
Thisis a synonym for =.
Note
The == comparison op... tion of this comparison operator.
----
-z
string is null, that is, has zero length
<code>
String='' # Zero-length... kets (see Example 7-6) normally works, however, thisis an unsafe practice. Always quote a tested string.... ot been initialized, it has no defined value.
# This state is called "null" (not the same as zero!).
if [ -n $