nmh-workers
[Top][All Lists]
Advanced

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

Re: check if message is in a particular sequence?


From: Bob Carragher
Subject: Re: check if message is in a particular sequence?
Date: Sat, 01 May 2021 02:47:56 -0700

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.



reply via email to

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