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.
run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}
run-mailcap --action={{action}} --debug {{path/to/file}}
stdout:run-mailcap --action={{action}} --nopager {{path/to/file}}
run-mailcap --action={{action}} --norun {{path/to/file}}