nmh-workers
[Top] [All Lists]

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

2014-05-21 19:09:30
Hi Norm,

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.

Unfortunately ... mh-format(5) doesn't really have the ability to
parse multiple addresses.

repl(1) does.  Does

    yes n |
    repl -cc all -query -editor false 2>/dev/null |
    sed -r 's/\<Reply to ([^?]+)\? /\1\n/g'

help?  It leaves an abandoned draft behind for later clear-up.

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>