nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ken Hornstein
Subject: Re: [Nmh-workers] Selecting messages with a range of Spam scores
Date: Sat, 21 Feb 2015 21:41:59 -0500

>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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]