nmh-workers
[Top] [All Lists]

Re: sorting uniquely by message-id

2020-09-21 09:15:46
wolfgang wrote:
Dear Krullen,

In message <20200921123221.7F4AC3280059@mailuser.nyi.internal> you wrote:

Brilliant, Wolfgang, I have fixed this too. See attached or linked.

Thanks - close, but no cigar ;-)


It still fails in a number of cases because "pick -search 'message-id:.*'"
searches everywhere in the message, including the body; I have a few
messages (as mentioned before, without their own message ID as they
were archived using a Fcc: header), which have an Message-ID: line
embedded in the body.  Then this message is considered identical to
the one containing this message-id in the header...

The pick man page doesn't present this quite as clearly as it could,
but when it refers to "--component", "component" means "any header
field name".  So I think what you want is:  "pick --message-id .*". 
(The double hyphen is important.)

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


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