nmh-workers
[Top] [All Lists]

Re: check if message is in a particular sequence?

2021-05-01 04:48:40
Ah, thanks, Ralph!  So, if in one's use case one typically makes
use of the output of mark(1mh) immediately, then one is fine, as
it'll check for the message files' current statuses.  Or, at
least if one is really careful about it.

That is, until you're using Paul's enhancement to mark(1mh).  B-)

                                Bob

On Fri, 30 Apr 2021 22:23:11 +0100 Ralph Corderoy <ralph@inputplus.co.uk> sez:

Hi Bob,

but would suffer compared with Ken's approach in that deleted messages
would still be reported

I don't think they would; mark(1) doesn't output removed messages,
whether by rmm(1) or through the filesystem.

    $ p -seq bob last:3
    3 hits
    $ mark -list -s bob
    bob: 96916-96918
    $ rmm 96917
    $ mark -list -s bob
    bob: 96916 96918
    $ rm `mhpath 96918`
    $ mark -list -s bob
    bob: 96916
    $

-- 
Cheers, Ralph.

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