On 12/17/01, 07:32:36PM +0100, Roman Neuhauser wrote:
> Hi there,
> 
> I started playing with auto_view, but stumbled upon a problem:
> 
> roman@roman ~ > grep tar-gz /usr/local/etc/mime.types
> application/x-tar-gz            tgz tar.gz
> roman@roman ~ > grep tar-gz ~/.mailcap
> application/x-tar-gz; tar tzf -;copiousoutput
> 
> [-- Attachment #2: mutt-manual.html.tar.gz --]
> [-- Type: application/x-tar-gz, Encoding: base64, Size: 96K --]
> 
> [-- application/x-tar-gz is unsupported (use 'v' to view this part) --]
> 
> application/x-tar-gz; gunzip -c %s|tar tf -;copiousoutput
> 
> or
> 
> application/x-tar-gz; tar tzf -;copiousoutput
Missing dash in front of tar options, e.g.
application/x-tar-gz; tar -tzf ;copiousoutput
??
> 
> didn't help either. Interestingly enough, this works just fine:
> 
> image/*; anytopnm %s|pnmscale -xs 70 |ppmtopgm|pgmtopbm|pbmtoascii; \
>     copiousoutput
> 
> Any ideas what's wrong?
> 
> -- 
> FreeBSD 4.4-STABLE
> 7:24PM up 6:19, 9 users, load averages: 0.12, 0.09, 0.05

-- 
John P. Verel
Living Proof That Low Tech Beats High Tech!

Reply via email to