procmail
[Top] [All Lists]

eliminate special character in subject

2001-08-10 07:14:23
Hi,

I have a recipe, which eliminates two or more "Re:", and just leaving 
one. Now I´ve got a message like this:

Subject: Re:   Re: blablabla
         ^^^^^^
         and here is the problem. If I edit the message, I can see in
         the header the special character " " (hexadecimal =A0). How can
         I delete this char by the help of a procmail recipe?

I use the following "Re:"-recipe:

:0 fhw
* ^Subject:.*Re:
 | sed -e 's/Re:[ _]\?\(Re:[ _]\?\)*/Re: /g'

TIA,
Thomas

-- 
Thomas Hümmler * thomas(_at_)huemmler(_dot_)de * http://www.huemmler.de
REDAKTIONSBÜRO T.O.M. * Gsprait 1 * D-85560 Ebersberg
Phone: +49 (0 80 92) 8 38 33 Fax: +49 (0 80 92) 8 38 34
* am Kiosk: CHIP Linux-Spezial: Red Hat 7.1, CD-Brennen *
_______________________________________________
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>
  • eliminate special character in subject, Thomas Huemmler <=