nmh-workers
[Top] [All Lists]

Re: [nmh-workers] how might I make sequence 'bar' where 'bar' is all but msgs in seq 'foo'?

2019-03-13 00:01:55
    Date:        Tue, 12 Mar 2019 20:11:41 -0500
    From:        nmh(_at_)trodman(_dot_)com
    Message-ID:  
<201903130111(_dot_)x2D1BfK5025818(_at_)epjdn(_dot_)zq3q(_dot_)org>

  | Given a sequence 'foo', how can I get the complement,
  | i.e. all messages in the folder, not in sequence 'foo'?

in your MH profile set something like

        sequence-negation: ^

(some people use "not" I believe).

Then just use ^foo where you would otherwise use foo.

  | I want to save the results to sequence 'bar'.

mark +folder -seq bar -zero ^foo

kre


-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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