tldr/pages/linux/run-mailcap.md
Lena d427f333b2
pages/*: add backticks around I/O streams (#10436)
* as suggested in #10428
* standard input  => `stdin`
* standard output => `stdout`
* standard error  => `stderr`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 10:59:02 +05:30

788 B

run-mailcap

Run MailCap Programs. Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file. More information: https://manned.org/run-mailcap.

  • Individual actions/programs on run-mailcap can be invoked with action flag:

run-mailcap --action=ACTION [--option[=value]]

  • In simple language:

run-mailcap --action=ACTION {{filename}}

  • Turn on extra information:

run-mailcap --action=ACTION --debug {{filename}}

  • Ignore any "copiousoutput" directive and forward output to stdout:

run-mailcap --action=ACTION --nopager {{filename}}

  • Display the found command without actually executing it:

run-mailcap --action=ACTION --norun {{filename}}