|
NAMEfrm,nfrm - list from and subject of selected messages in mailbox or folderSYNOPSISfrm [-hMnQqStv] [-s status] [folder | username] ...nfrm [-hnQqStv] [-s status] [folder | username] ... DESCRIPTIONFrm outputs one line per message of the form:from [subject] where from is the name of the person the message is from, and subject is the subject of the message, if present. If the message is from you, the from portion will read ``To user'', where `user' is the user the message was sent to. This happens when you receive a copy of a letter you sent. If a folder is specified, the program reads that folder rather than the default mailbox. If the argument is a username then frm looks in that user's mailbox, provided you have permission to read it. A folder can be specified with the same notation as when invoking the Elm mailer (e.g., =folder). Frm invoked as nfrm is identical to invoking ``frm -s new''. OPTIONSThe frm program has the following options:
EXIT STATUSFrm returns a zero status ("true") if messages matching `status' are present. Frm returns 1 if no messages matching `status' are present, but there are some messages, returns 2 if there are no messages at all, or returns 3 if an error occurred. If multiple mailboxes or folders are specified, the exit status only applies to the last one examined. This can be used in scripts to determine what kind of mail a user has.EXAMPLESSome example uses:$ frmwill display header information from all the messages in your mailbox, or ``You have no mail.'' if there are no messages in your incoming mailbox. $ frm -s newwill display header information from all new messages in your mailbox, or ``You have no new mail.'' Note the slightly different diagnostic. $ frm -s new -s unread guestassuming you have the proper file permissions to read guest's mail, will print out header information from all new and unread messages in guest's incoming mailbox. If there are no messages, frm will print ``guest has no mail.'' $ frm -q -Swill print only a one line summary of how many read, unread, and read messages are in your incoming mailbox. For example, ``You have 2 new messages, 3 unread messages, 23 read messages.'' AUTHORElm Development GroupSEE ALSOreadmsg(1L), elm(1L), mail(1), mailx(1)BUG REPORTS TOBill Pemberton flash@virginia.eduCOPYRIGHTSCopyright 1988-1995 by The USENET Community TrustDerived from Elm 2.0, Copyright 1986, 1987 by Dave Taylor
Visit the GSP FreeBSD Man Page Interface. |