Node:frm, Next:, Previous:pop3d, Up:Programs



frm -- List headers from a mailbox.

The frm command outputs a header information of the selected messages in a mailbox. By default, frm reads the user's system mailbox and outputs the contents of From and Subject headers for each message. If a folder is specified in the command line, the program reads that folder rather than the default mailbox.

The program uses following option groups: See mailbox.

The following command line options alter the behavior of the program:

-f STRING
--field STRING
Display the header named by STRING instead of From Subject pair.
-l
--to
Include the contents of To header to the output. The output field order is then: To From Subject.
-n
--number
Prefix each line with corresponding message number.
-Q
--Quiet
Be very quiet. Nothing is output except error messages. This is useful in shell scripts where only the return status of the program is important.
-q
--query
Print a message only if there are unread messages in the mailbox.
-S
--summary
Print a summary line.
-s ATTR
--status ATTR
Only display headers from messages with the given status. ATTR may be one of the following: new, read, unread. It is sufficient to specify only first letter of an ATTR. Multiple -s options are allowed.
-t
--align
Tidy mode. Currently is not implemented. Included for compatibility with frm program from Elm package.