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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | One-liner to retrieve an email's recipients?, Conrad Hughes |
|---|---|
| Next by Date: | Re: One-liner to retrieve an email's recipients?, Conrad Hughes |
| Previous by Thread: | One-liner to retrieve an email's recipients?, Conrad Hughes |
| Next by Thread: | Re: One-liner to retrieve an email's recipients?, Conrad Hughes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |