[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: format and output all received: lines in an e-mail message
From: |
Ralph Corderoy |
Subject: |
Re: format and output all received: lines in an e-mail message |
Date: |
Wed, 20 Nov 2019 14:22:37 +0000 |
Hi Paul,
> greg wrote:
> > then, i'd like to use something like fmttest(1) to print out all the
> > "Received:" lines in an e-mail message. ideally, each "Received:"
> > line would come out on a separate line; less ideally, but i'm sure
> > very
>
> Is strict use of only MH tools a requirement for some reason? Because
> if not, then this does a pretty good job:
> show -noshowproc |sed -n -e '/^$/q' -e '/^Received:/p'
Fields can be continued by starting the next line with white-space,
and Received fields are often continued. :-)
--
Cheers, Ralph.
Re: format and output all received: lines in an e-mail message, Andy Bradford, 2019/11/21