Dear mutt-users,
how could I pipe message, grep some patterns, and forward the results ?

I have already written this macro:

macro index,pager z ":set mime_forward=no\n:ignore *\n:unignore
subject\n<pipe-entry>grep -v SomePatterns\n<forward-message>"

With ignore and unignore I can select headers I want to forward.
But the message need to be cleaned with some bash scripts (like grep -v
^patterns).

Do you have any idea how I could write this macro ?

Thank you.

-- 
Alexandre Delanoƫ

Reply via email to