nmh-workers
[Top] [All Lists]

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

2014-05-23 10:37:11
Ralph Corderoy <ralph(_at_)inputplus(_dot_)co(_dot_)uk> writes:
Hi Norm,

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.

Works like a charm. Now I have to figure how it works.  If it ddoes
leave abandoned draft behind, I can't figure our where.  Certainly not
in my Draft-folder.

A cut-down manual version gives

$ repl -cc all -query -editor false
Reply to Norman Shapiro <norm(_at_)dad(_dot_)org>? n
Reply to Ralph Corderoy <ralph(_at_)inputplus(_dot_)co(_dot_)uk>? n
Reply to nmh-workers(_at_)nongnu(_dot_)org? n
Reply to norm(_at_)dad(_dot_)org? n
Reply to ralph? n
whatnow: problems with edit--draft left in /home/ralph/mail/drafts/,41
$

for me.

Cheers, Ralph.

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

Extremely clever and creative!

When you said, earlier, it leaves an abandoned draft behind, I didn't realize
you meant a comma file.

Very minor quibble: The repl man page doesn't say that it prompts with "Reply
to". So there is nothing, except inerita, to stop that from being changed.


    Norman Shapiro

_______________________________________________
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>