"David W. Tamkin" wrote:
Douglas Hunley asked,
| to have a procmail recipe remove certain lines contained within the body
| of an email?
| Example email:
| host a responded successfully
| host b did not respond
| host c responded successfully
| host d responded successfully
| is there any way to get procmail to stip out the lines that have
| 'responded successfully' in them and then deliver the mail to the normal
* responded successfully$
| grep -v 'responded successfully$'
and what happens if _every_ line matches that grep? do I get an empty
email? or is procmail smart enough to not deliver the resulting message?
thanks for this info! made my life a lot easier...
Douglas J. Hunley (Linux User #174778)
panic("Tell me what a watchpoint trap is, and I'll then
deal with such a beast...");
procmail mailing list