[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Getting the addresses with comments of sent messages
From: |
norm |
Subject: |
Re: [Nmh-workers] Getting the addresses with comments of sent messages |
Date: |
Wed, 14 May 2014 06:49:49 -0700 |
Ken Hornstein <address@hidden> writes:
>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}%qqqq>'
>
>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.
That puts multiple addresses on the same line, delimited by commas. But commas
can also occur in comments, so I would have to go to some trouble to parse the
output. Is there a variant that would put each address on on a separate line?
I tried sprinkling '\n's in your format string, to no avail.
I could try to RTFM, i.e. to read and understand the man page for mh-format,
but I've been hoping to die before that.
Norman Shapiro
- [Nmh-workers] Getting the addresses with comments of sent messages, norm, 2014/05/13
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Paul Fox, 2014/05/13
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Ken Hornstein, 2014/05/13
- Re: [Nmh-workers] Getting the addresses with comments of sent messages,
norm <=
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Ken Hornstein, 2014/05/14
- [Nmh-workers] mh-format, norm, 2014/05/14
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Ralph Corderoy, 2014/05/21
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, norm, 2014/05/22
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Ralph Corderoy, 2014/05/22
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, norm, 2014/05/23
- Re: [Nmh-workers] Getting the addresses with comments of sent messages, Ralph Corderoy, 2014/05/23