nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Getting the addresses with comments of sent messages


From: Ken Hornstein
Subject: Re: [Nmh-workers] Getting the addresses with comments of sent messages
Date: Tue, 13 May 2014 10:53:12 -0400

>I have a directory containing a slew sent messages. I would like a list of all
>of the addresses, including comments, of all of these messages. Does anybody
>have a script that will do this?
>
>whom does not seem an appropriate tool for this. It does not include comments
>and it does not work well for sent messages; it fails with complaints like:

I think your best bet is to use scan with a custom format.  A super simple
one is:

        scan -format '%{to}'

Although this might be more complete:
        scan -format '%{to}%<{cc}\n%{cc}%>'

You might have to play with that a bit to get what you want.  I see that
you probably will need to add -width 9999 to that usage of scan.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]