nmh-workers
[Top][All Lists]
Advanced

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

Re: One-liner to retrieve an email's recipients?


From: Ken Hornstein
Subject: Re: One-liner to retrieve an email's recipients?
Date: Tue, 18 Aug 2020 12:31:29 -0400

>Anybody have a quick comment on good ways to retrieve an email's
>recipients (e.g. To:, cc:) with an nmh command?  Perfectly happy to hear
>there's no amazing solution and the closest thing would probably be a
>custom mh-format — just noticed some old code which locates the file
>with mhpath and then parses out the headers, which seems potentially
>excessive..

scan -format "%{to} %{cc}" -width 1000

I mean, you can get a lot fancier, but that's the basic answer.

--Ken



reply via email to

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