How can parse a string from the right instead of the left?
What I'm trying to get is get the extension of a file
contained in an URL, such as http://www.test.com/tmp/foo.bar.
Here's my kludge:
In Korn Shell, I could use something like ${url%%/./},
but I'm not sure if that's right off the top of my head.
Thanks