nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Relative Message Numbers

2013-04-08 13:38:11
Hi Johan,

What about foo#3 and foo#-3? This would mirror the : in sequences,

foo:-3 (three messages from end of foo)
foo#-3 (third message from foo's end)

That's quite nice.  `#3' as in `number 3'.  And it's not a shell comment
character as it doesn't start a word.

    foo#3-5   Third, fourth, and fifth.
    foo#2--2   All but the first and last, potentially none.
    foo#-5--1   Same as foo:-5.
    foo#-5-3   Second and third if foo holds six.

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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