Re: ISO something in Subject2004-10-23 03:07:40Am 2004-10-23 10:48:50, schrieb Per Jessen: Michelle Konzack wrote:Am 2004-10-22 16:03:07, schrieb Per Jessen:This should get rid of most RFC2047 encoded stuff in your headers: sed -e s/=\?[^ ]+\?[QqBb]\?.*\?=// (not tested, so YMMV).Does not work :-/OK, one more try - how about this one: "/=\?[^? ]+\?[BbQq]\?[^?]*\?=/" - this time I've even tested it. But it still doesn't work with sed ... I tested it using php/preg_match(). michelle(_at_)michelle1:/tmp/ > echo ; echo "Subject: Norbert Nienebuck ist = ?ISO-8859-2?Q?au=DFer_Haus=2E?=" |sed "s/=\?[^? ]+\?[BbQq]\?[^?]*\?=//" =?ISO-8859-2?Q?au=DFer_Haus=2E?= It is realy complicated to get rid of RFC-2047 encodings... /Per Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________ 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
|
|