> Joel Reicher wrote:
> > I believe this will work, and doesn't have the problem with gaps in
> > message numbers that kre's script does.
>
> How about the following:
>
> last=`mhpath first:$((2*n)) cur:$n|tail -1`
> last=${last##*/}
> scan $last:-$((2*n))
Wow. Super clever. Doesn't work if cur is off the end, unfortunately,
but that can be fixed with a special case if it matters.
Cheers,
- Joel
_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers