Norbert Preining <prein...@logic.at> writes: > > THanks, added to the git repository. Will be in the next upload > (probably 5.2)
I see info can also spit out plain text, so further proposal below. This allows for example run-mailcap --action=cat /usr/share/info/info.info.gz
application/x-info; /usr/bin/info -f '%s'; needsterminal; description=GNU Info document # ASCII text rendition, low priority. # Info prints messages Messages like "info: Writing node (foo.info.gz)..." to # stderr. Discard them, though alas doing so also loses any genuine error # messages. Is there a "quiet" option? application/x-info; /usr/bin/info --subnodes -o /dev/stdout -f '%s' 2>/dev/null; copiousoutput; description=GNU Info document; priority=1