procmail
[Top] [All Lists]

Re: Can I change the subject?

2002-01-26 08:09:09
* Pun Kuan Tou <toukp(_at_)macau(_dot_)ctm(_dot_)net> spake thus:
I get some mail's subject like
,---
| Subject:
|  something like that
'---

how can I change it to "Subject: something like that"

Maybe this will do, although I expect the regulars here to come up with
a one-liner that will do the whole thing more efficiently:

:0 i
tmp=|formail -Xc"Subject:"
:0 af
|formail -I"$tmp"

Stig

-- 
brautaset.org
Registered Linux User 107343

``Oh, how I wish `undo' was ported to everyday life.''
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>