Re: Pipe and replace message

2023-11-22 Thread Michael Kjörling
On 22 Nov 2023 20:12 +0100, from da...@santinoli.com (David Santinoli): > I could not find a way to pipe a message to an external filter and have > the output replace the original message. You can set $editor to any script you want and cause (or or as applicable) to be invoked. Make the script

Pipe and replace message

2023-11-22 Thread David Santinoli
Hallo, I could not find a way to pipe a message to an external filter and have the output replace the original message. As a workaround I open the message in vim, pipe the whole buffer to the filter, and save it back as a new message while the original one gets marked for deletion. It works