OpenWindows Desktop Reference Manual
  Искать только в названиях книг
Загрузить это руководство в формате PDF

NAME

mailprint - filter to strip out mail message attachments

SYNOPSIS

mailprint [ -b ] [ filename. . . ]

DESCRIPTION

The mailprint program reads a filename (which contains one or more mail messages from mail(1) or mailtool(1), and sends to standard output the same messages, minus any attachments that were included in the mail messages. If no filename argument is provided, mailprint reads from the standard input.
mailprint will add the following line to the end of each mail message, if any attachments were stripped out:
This message contains n attachments (not printed)
where n is the number of attachments stripped.
This program will output nothing if the filename or standard input is not a message.
This program's functionality is already provided in mailtool's print option, as well as printtool when you drag a message from mailtool and drop it onto printtool(1).
mailprint can be used together with other programs to print out a message. For example:
example% cat filename | mailprint | mp | lp

OPTIONS

-b
At the end of each message, a formfeed/pagebreak is added. This is useful for sending multiple mail messages to a printer.

SEE ALSO

mail(1), mailtool(1), printtool(1)