| MSHOW(1) | General Commands Manual | MSHOW(1) |
mshow — render
messages and extract MIME parts
mshow |
[-h headers]
[-A mimetypes]
[-nqrBFHLN]
[msgs ...] |
mshow |
-x msg
parts ... |
mshow |
-O msg
parts ... |
mshow |
-t msgs ... |
mshow |
-R msg |
mshow renders the specified
msgs to the standard output, by default. (See
mmsg(7) for the message argument syntax.) If used
interactively and no msgs are specified,
mshow displays the current message using
colorization and a pager.
The options are as follows:
-h
headersfrom:subject:to:cc:date:reply-to:’.-A
mimetypesmixed/alternative’
preference. mimetypes is a colon-separated list of
MIME types which will be preferred, in the order given, when rendering
‘mixed/alternative’ parts. If no
MIME type matches, the first MIME part will be rendered.
Defaults to
‘text/plain:text/html’.
-n-q-r-B=?UTF-8?Q?stuff?=’.-F-H-L-N-x
msg-O
msg-x but write to standard output. This may be
dangerous to use on a tty. When used together with
-r, the whole part is raw, that is, un-decoded and
including MIME part headers.-t-R
msgmshow, by default, decodes all
‘text/*’,
‘message/rfc822’ and
‘multipart/*’ parts, and re-encodes
them into UTF-8 if necessary.
Other filters can be specified in the file
${MBLAZE:-$HOME/.mblaze}/filter (or via
MAILFILTER), in the format:
:
command:
commandmshow will then spawn a pipe to
command, write the MIME part to standard input and
display the output. The environment variable
PIPE_CHARSET will be set to the charset declared in
the MIME part, if known.
Filters can communicate with mshow using
their exit status:
MAILFILTERMBLAZE_NOCOLORmshow will not spawn a colorization
filter.MBLAZE_PAGERMBLAZE_PAGER is used instead of the standard
pagination program, specified in PAGER. When empty
or set to ‘cat’, no pager is
spawned.The mshow utility exits 0 on
success, and >0 if an error occurs.
Leah Neukirchen <leah@vuxu.org>
mshow is in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
| August 24, 2018 | Debian |