stuff I've written about), please take a look at my home page. If you've got questions or comments, p... stuff I've written about), please take a look at my home page. If you've got questions or comments, p... les. 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 get: