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: Ken Hornstein
Subject: Re: check if message is in a particular sequence?
Date: Thu, 29 Apr 2021 12:49:40 -0400

>What's the fastest/easiest way to check if a particular message
>is a member of a particular sequence?
>
>I thought I'd be able to compare the message number against the output
>of "mark -list", but since sequences can be abbreviated with range
>notation, that gets complicated quickly.  For example, message 6 is in
>the sequence todo, but it's hard to tell from this:

You can get the expanded list of messages in a sequence by doing this:

        scan -format '%(msg)' sequence-name

I think from there, it's easy.  I do not know of a better way, but it
wouldn't surprise me if someone came up with something better.

--Ken



reply via email to

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