nmh-workers
[Top] [All Lists]

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

2019-06-08 16:02:45
    Date:        Sat, 08 Jun 2019 14:03:12 -0400
    From:        "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" <valdis.kletnieks@vt.edu>
    Message-ID:  <13857.1560016992@turing-police>


  | I understand why that .* was causing me indigestion.  But I'm having a hard
  | time matching "pattern is used directly" with what I'm seeing,
  | unless -search is *also* doing a split into component and pattern

I haven't looked, but it is not impossible that (perhaps any number of) "Re:"
get deleted from Subject headers before matching (or perhaps it attempts a
match both with and without) - that shouldn't be needed with a -subject
search, but with -search it would allow users to easily find all messages
in a thread (with and without Re: stuck in there).

I also wouldn't be surpriused to see mailing-list noise elided before
matching is attempted (the '[nmh-workers]' that gets installed in all of
these messages).

I have seen systems in the past which acted like that.   It tends to more
often DTRT than otherwise (but when it is otherwise, it is certainly
perplexing).

However, when I try it, I don't see that (either of them) ...

jinx$ scan $( pick -subject "Stupid 'pick"  +info/nmh )
11777   Fri  "Valdis Kl?tnieks  [nmh-workers] Stupid 'pick' question...<<--=====
11778   Fri  Bakul Shah         Re: [nmh-workers] Stupid 'pick' question...<<On 
11779   Fri  Bakul Shah         Re: [nmh-workers] Stupid 'pick' question...<<But
11781 - Sat  Ralph Corderoy     Re: [nmh-workers] Stupid 'pick' question...<<Hi 
11783  16:50 To:Ralph Corderoy  Re: [nmh-workers] Stupid 'pick' question...<<Dat
11784 -11:04 Ralph Corderoy     Re: [nmh-workers] Stupid 'pick' question...<<Hi 
11793+ 14:03 "Valdis Kl?tnieks  Re: [nmh-workers] Stupid 'pick' question...<<--=

jinx$ scan $( pick -search "Subject: \[nmh-workers] Stupid 'pick"  +info/nmh )
11777   Fri  "Valdis Kl?tnieks  [nmh-workers] Stupid 'pick' question...<<--=====

jinx$ pick -version
pick -- nmh-1.7 built 2018-02-02 13:58:27 +0000 on jinx.noi.kre.to
jinx$ mhparam pick
-seq sel -list

kre


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

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