riables. This is what it all means:
Given:
foo=/tmp/my.dir/filename.tar.gz
We can use these expressions:
path = ${foo%/*}
To get: /tmp/my.dir (like dirname)
file = ${foo##*/}
To ge... dout.
Example:
: ${HOME:="/home/.nohome"}
${TMP:?"Error: Must have a valid Temp Variable Set"}
T... derr.
${parameter:+word}
Alternative value. ${TMP:+"/mnt/tmp"}
use /mnt/tmp instead of $TMP but d