nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Stupid 'pick' question...

2019-06-09 03:49:48
Hi Bakul,

So pick runs -search on header lines as well as the body a header
specific option is only run against headers.

pick(1):

   This means that the pattern specified for a -search will be found
   everywhere in the message, including the header and the body, while the
   other pattern matching requests are limited to the single specified
   component.

And pick matches header line *after* line folding, as tested with
Received:

   Pattern matching is performed on a per-line basis.  Within the header
   of the message, each component is treated as one long line, but in the
   body, each line is separate.

Conclusion: the man page is not quite accurate! But that is probably
ok. 

Based on the above extracts, it doesn't seem too bad.
Is there something in particular you think's missing?

-- 
Cheers, Ralph.

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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