Hrm, if you wanted a script, you could do something like, awk -F. { $ll } or whatever the last item in an awk expression is, I'd have to look it up. Then it would be a giant case statement as it went through all the possibles for decom.
However, there are really only a few out there that are used with any frequency. zip, Z ( usually solaris ), gz, and bz. You use unzip, uncompress ( usually solaris ), gunzip and bunzip. You'll get the occasionaly rar , but there's also tar, I do not like green eggs and ham.
Anyway, not that big of a deal, from my perspective.
|