From: "David W. Tamkin" <dattier(_at_)ripco(_dot_)com>
Collin recommended to Tomcat ... well, lots of stuff and most of it
looks right on target, but I noticed this:
| :0h
| NewSubj=| formail -czXSubject: | head -1 | sed -e 's/\*-.*$//'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
formail -czuXSubject:
Save one process and let formail do, pardon the expression, the head job
with its -u option.
Interesting. Even if there were no -u option to formail
(wich I frankly hadn't noticed before, so I found this
valuable), one could also have used sed for the same:
| NewSubj=| formail -czXSubject: | sed -e '2,$ d' -e 's/\*-.*$//'
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail