nmh-workers
[Top] [All Lists]

Re: check if message is in a particular sequence?

2021-05-04 00:35:01
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: pgpDDgw8KTPIl.pgp
Description: PGP signature

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