21 Jan
2007
21 Jan
'07
8:34 p.m.
* Johannes Weiner <hannes@saeurebad.de> [070121 13:38]:
What about this:
case $file_type in "application/x-tar") ft=".tar";; "application/x-tar*") case $file_type in "*x-gzip") ft=".tgz";; "*x-bzip2") ft=".tbz2";; ecac;; "application/x-zip*") ft=".zip";; [...] esac
This would save a lot of external calls to grep ;)
Good idea. I've got the new patch below as usual. ~ Jamie / yankees26 Signed-off-by: James Rosten <seinfeld90@gmail.com>