rewrote it without the use of eval, but it's even longer and uglier now than the
initial version where each archive type appeared in two case/esac.
at least it's easily extendable for new archive types
posting it here just for your viewing pleasure ;-)
http://paste.grml.org/410/ |