From: Ralph C. <ra...@in...> - 2017-11-20 15:52:55
|
Hi Matthias, > > curl -sS ftp://lists.gnu.org/nmh-workers/2017-11 | > > sed -n '/Sat Nov 18 19:42:55 2017/,/^To:/p' | > > sed -n '$p' > > apparently that does not get me the message you are referring to, I am > only getting this: > > > To: nmh...@no... Sorry, it appears the pipeline is faulty as the archive grows. This works for me now. $ curl -sS ftp://lists.gnu.org/nmh-workers/2017-11 | > sed -n '/Sat Nov 18 19:42:55 2017/,/^$/p' | > grep '^To:' To: nmh-announce: ;, nmh...@no... $ If you download that URL then you will find the start of the whole email using that date as it's in the From_ line. There are two addresses. The first is a group address. This is commonly used in the form `undisclosed-recipients: ;'. The second is a normal, disclosed, recipient. RFC 2822 makes very clear this is valid, and has some handy examples to stress-test parsers. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy |