Toen ik Dallman Ross kietelde, kwam er dit uit:
Ruud H.G. van Tol:
or (in the best procmail-only tradition)
:0E
* B ?? ^^\/.*
{ B_head = $MATCH }
(untested, as usual)
No, now we have no newlines, again.
MATCH # null it out in case body ends up being empty
:O E
* B ?? ^^\/(.*$?)*
{ B_head = $MATCH }
Right. It's now just after dinner time here, so it
must have been a sugar-dip.
I usually write that regexp as ^^\/(.|$)*
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail