nmh-workers
[Top] [All Lists]

Re: format and output all received: lines in an e-mail message

2019-11-20 08:08:40
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' 

paul
=----------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 35.2 degrees)


<Prev in Thread] Current Thread [Next in Thread>