On Mon, 18 Aug 1997, Timothy J Luoma wrote:
Original-Date: Mon, 18 Aug 1997 16:25:46 -0700
I want to do a text search on just the newly added text. Is
there a way to do this in Procmail?
I've thought about doing that, but never did....
I don't know that there is a way to do it in procmail without feeding the
body to grep "^\>" and then you'd have to take into account multiple
Either sed or perl could do it. If everyone used a standard quote mark.
this is a nested quote
and I want to get rid of it
^^^^^^^^^^^^^^^^^^^^^^^^to be deleted?
that's a good idea
but how do you expect to accomplish it?
I fianlly gave up on the idea, thinking it would cause more problems than it
would solve (ie when people respond point by point and I can't see what they
untested, but something like this should delete the part of the original
message you quoted Tim:
| sed -e '/^> >/d'
And as you noted, your responce would then lose some context.
It would be nicer if folks just trimmed the quotes to what was necessary...
Why? It doesn't impact on them - sort of like adding things to the
subject, long sigs, and not bothering to diable htmlization of messages.
It doesn't adversley effect the sender, so they don't care.
"I must have a prodigious quantity of mind; it takes me as much as a
week sometimes to make it up."
-- Mark Twain, "The Innocents Abroad"