Linux "print" Command Line Options and Examples
execute programs via entries in the mailcap file

run-mailcap (or any of its aliases) will use the given action to process each mime-type/file in turn. Each file is specified as its mime-type, its encoding (e.g.


Usage:

run-mailcap --action=ACTION [--option[=value]] [MIME-TYPE:[ENCODING:]]FILE [...]






Command Line Options:

--action
Performs the specified action on the files. Valid actions are view, cat (uses only "copiousoutput"rules and sends output to STDOUT) , compose, composetyped, edit and print. If no action is specified,the action will be determined by how the program was called.
print --action ...
--debug
Turns on extra information to find out what is happening.
print --debug ...
--nopager
Ignores any "copiousoutput" directive and sends output to STDOUT.
print --nopager ...
--norun
Displays the found command without actually executing it.SECURITYA temporary copy of the file is opened if the file name matches the Perl regular expresssion"[^[:alnum:],.:/@%^+=_-]", in order to protect from the injection of shell commands, and to make sure that thename can always be displayed in the current locale. In addition, the file is opened using its absolute pathto prevent the injection of command-line arguments, for instance using file names starting with dashes.
print --norun ...