pretty-print mutt emails

Cameron Simpson cs at cskk.id.au
Tue Nov 30 20:33:18 UTC 2021


On 24Nov2021 20:21, Jean Louis <bugs at gnu.support> wrote:
>When using grep, I think `grep -m1' should be used to find the first
>match, as I wonder what would be the result if words like "From:" or
>"Date: " are found in the body of the email, not only in the header.

I tend to use sed for this. A simple:

    /^$/q

prevents falling through to the message body.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Mutt-users mailing list