3.7 readmsg -- Extract Messages from a Folder
The program, readmsg, extracts with the selection argument messages from
a mailbox. Selection can be specify by:
- A lone "*" means select all messages in the mailbox.
-
A list of message numbers may be specified. Values
of "0" and "$" in the list both mean the last
message in the mailbox. For example:
extracts three messages from the folder: the first, the third, and the last.
-
Finally, the selection may be some text to match. This will select a mail
message which exactly matches the specified text. For example,
extracts the message which contains the words "staff meeting." Note that it
will not match a message containing "Staff Meeting" - the matching is case
sensitive. Normally only the first message which matches the pattern will be
printed.
Command line options
- `-a'
- `--show-all'
- If a pattern is use for selection show all messages that match pattern
by default only the first one is presented.
- `-d'
- `--debug'
- Display mailbox debugging information.
- `-f mailbox'
- `--folder=mailbox'
- Specified the default mailbox.
- `-h'
- `--header'
- Show the entire header and ignore the weedlist.
- `-n'
- `--no-header'
- Do not print the message header.
- `-p'
- `--form-feed'
- Put form-feed (Control-L) between messages instead of newline.
- `-w weedlist'
- `--weedlist=weedlist'
- A whitespace or coma separated list of header names to show per message.
Default is --weedlist="From Subject Date To CC Apparently-"
This document was generated
by Sergey Poznyakoff on December, 23 2004
using texi2html