Package: mime-support
Version: 3.44-1
Severity: wishlist

[ Right now there is no way to use run-mailcap as filter --
  even when $DISPLAY is unavailable it forces output to be paged. So ]

I think it could be handy if one could use

    $ run-mailcap --action=cat $file

as canonical way to obtain $file's text/plain content on stdin.


My use-case is to put something like

    [diff "astextplain"]
        textconv    = run-mailcap --action=cat

into ~/.gitconfig , and then something like

    *.doc *.pdf *.xxx ...  diff=astextplain

into .gitattributes


I'm sure there are other use-cases for this feature.


Thanks beforehand,
Kirill



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii  file                          5.00-1     Determines file type using "magic"

mime-support suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to