procmail
[Top] [All Lists]

Re: How to avoid s/\n/ /g when unfolding a header

2004-12-12 12:37:22
On Sun, 12 Dec 2004, 10:22 GMT-06 David W. Tamkin wrote:

[...]

You're not going to be able to do it within procmail, because for 
scanning the head, procmail's regexp engine treats continuation newlines
as spaces.  When you extract into $MATCH, there's no way to tell those
two spaces from a real pair of adjacent spaces that were there before.

thank you for confirming this cannot be done with procmail. Sad, I
think. Is there any reason procmail adds the extra space? Just curious
because MUAs do render it without adding theses spaces.

rob.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail