On Wed, Jul 22, 2009 at 05:35:02PM +0100, Noah Slater wrote: > On Wed, Jul 22, 2009 at 06:29:57PM +0200, Rado S wrote: > > There is also "mime_lookup application/octet-stream", and then the > > respective mailcap entry like "gzip -dc | tar -tvf -" > > Well, I had considered this, but application/octet-stream is a catch-all MIME > type, and I can't blithely assume that it will always be this very specific > type > of file. So going down this path like the wrong approach.
Did you actually look up what "mime_lookup" means? If you would have done, you wouldn't have to worry. mime_lookup and mailcap do exactly the same as the octet filter script. I just find the script more convenient as I don't have to write tons of mailcap entries. Rocco
