David W. Tamkin wrote:
Maybe the reason it doesn't work with sed is that your version of sed
(like most) doesn't honor extended regexps, and it takes the plus sign
as a literal plus sign?
Good point.
Does
/=\?[^? ][^? ]*\?[BbQq]\?[^?]*\?=/
work any better? You can omit the backslashes before the question
marks, but if you're used to extended regular expressions, the result
will look funny to you.
It did work but only after I removed the backslashes, which I don't understand.
But never mind, if Michelle just wants to get rid of RFC2047 encoded strings,
this should(!) be it:
sed -e 's/=?[^? ][^? ]*?[BbQq]?[^?]*?=//g'
/Per
--
Per Jessen, Zurich
Let your spam stop here -- http://www.spamchek.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