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: Valdis Klētnieks
Subject: Re: check if message is in a particular sequence?
Date: Tue, 04 May 2021 01:33:38 -0400

On Sun, 02 May 2021 19:23:06 +0100, Ralph Corderoy said:

> I went for -range because it's controlling the printing as ‘lo-hi’ and
> mh-sequence(5) already says things like
>
>     A message range is specified as “name1-name2” or “name:n”, where
>     `name', `name1' and `name2' are message names, and `n' is an
>     integer.

So -range means "make it into a range if possible" and -norange doesn't.
I'm sold. :)

And yes, being able to say -norange is handy if you're doing something where
you're grabbing a range and then feeding it to a shell's "for i in $foo". (Over 
the
decades that's annoyed me - a big reason I don't use mark more is because I'm
usually using that to feed something else that doesn't grok "14-19"

Attachment: pgpQ65s2hYHdm.pgp
Description: PGP signature


reply via email to

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