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: Ralph Corderoy
Subject: Re: [Nmh-workers] Getting the addresses with comments of sent messages
Date: Thu, 22 May 2014 00:31:59 +0100

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.



reply via email to

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