Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
printmail - format mail in a readable fashion for printing |
printmail {-p} {filename} |
Printmail copies all messages from either the file specified or the default user mailbox with each message separated by a line of dashes. With the ?p option, the messages are separated by a form feed instead. In fact, this command is actually just a slightly differently formatted call to readmsg: |
readmsg {-p} {-f filename} * |
which does all the work here. |
A typical usage of this command is; |
printmail | lpr |
Elm Development Group |
readmsg(1L) |
Bill Pemberton flash@virginia.edu Copyright 1988-1995 by
The USENET Community Trust |