nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Selecting messages with a range of Spam scores

2015-02-21 20:42:14
scan -width 9999 -format '%<{X-Spam-Status}%(getenv HOME)/%(profile 
path)/%{folder}/%(msg)\t%{X-Spam-Status}\n%>'

Ah, my Path entry is fully qualified, that's why the previous invocation
works for me.

Clearly, I'm using a conditional format to output information. Will this
be less performant than pick in locating messages that match the header?
My minimal  profiling seems  to indicate  that it  isn't much  worse (at
least files that the OS has cached).

I believe ... it probably is very close to the same.  If you're looking
for multiple headers, it might be even better than pick (pick rereads
the file for each component it is searching for).

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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