nmh-workers
[Top][All Lists]
Advanced

[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: Paul Fox
Subject: Re: format and output all received: lines in an e-mail message
Date: Wed, 20 Nov 2019 09:08:20 -0500

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, address@hidden (arlington, ma, where it's 35.2 degrees)




reply via email to

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