General-Purpose Mail Package
|Official GNU Software|
readmsg— Extract Messages from a Folder
readmsg utility extracts messages from a mailbox
according to the criteria specified in the command line. These
readmsg 1 3 0
extracts three messages from the folder: the first, the third, and the last.
readmsg staff meeting
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 is printed.
Unless one of the informational options is used, at least one command line argument must be present. Informational options are: --help (-?), --usage, and --version (-V).
This document was generated on February 23, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.