On Wed, 6 Mar 2002, Jake McHenry wrote:

> Hey everyone, I am trying to make a "FROM" script that
> basically shows the person running the script who the mail
> is from that they have. Not very complex, but I can't seem
> to get it exactly how I want it. Currently, it works fine,
> but it shows too much info. This is what I have...
>
>   cat /var/spool/mail/$uname | sed -e '/[Ff][Rr][Oo][Mm]:/b' -e d
>
> K, this shows all combinations of from:, which is kind of
> what I want, but I only want the from: at the beginning of
> a email, not all the from: in reply's etc...
>

The `frm' command which is included as part of the elm
package is designed to do exactly what you want. It will
display the sender and the subject line for each message in
your mailbox.


-- 
John Darrah (u05192)    | Dept: N/C Programming
Giddens Industries      | Ph: (425) 353-0405 #133
PO box 3190             | Ph: (206) 767-4212 #133
Everett  WA    98203    | Fx: (206) 764-9639



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to