| MSCAN(1) | General Commands Manual | MSCAN(1) |
mscan — generate
one-line message summaries
mscan |
[-I] [-n]
[-v] [-f
format] msgs ... |
mscan prints a one line summary for each
message. (See mmsg(7) for the message argument
syntax.)
If no msgs are specified,
mscan reads filenames from the standard input, or
scans the mails in the current sequence if used interactively.
By default, mscan will spawn a pager on
its output when used interactively. See
ENVIRONMENT for details on how to
control this behaviour.
The default format is
%c%u%r %-3n %10d %17f %t
%2i%sthat is, for each message, mscan prints
relevant flags, the sequence number (if applicable), the date, the
originator, and the subject of the message (possibly indented). A default
mscan format may be specified in the user's
mblaze-profile(5).
The options are as follows:
-I%d’.-n-v-f
formatThe following formatting codes may be used (wd overrides the default width):
\n\t%%%’.%[wd]b%c>’ on the current message,
otherwise a blank.%[wd]d%[wd]D%[wd]fFrom:’ (or
‘To:’, if the message is from
us).%[wd]F%[wd]i%[wd]IMessage-ID:’ of the
message.%M%[wd]n%r-’ on a replied-to message,
or a ‘:’ on a forwarded message,
or a blank.%[wd]R%[wd]s%[wd]SRe:’,
‘Fwd:’ etc. stripped.%t>’ if you are in
‘To:’, a
‘+’ if you are in
‘Cc:’, a
‘:’ if you are in
‘Resent-To:’, or a blank.%u*’ on a flagged message, a
‘.’ on an unseen message, an
‘x’ on a trashed message, or a
blank.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 mscan utility exits 0 on
success, and >0 if an error occurs.
Leah Neukirchen <leah@vuxu.org>
mscan 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.
| January 2, 2020 | Debian |