[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] showing the n messages 'around' a particular message
From: |
Oliver Kiddle |
Subject: |
Re: [Nmh-workers] showing the n messages 'around' a particular message |
Date: |
Thu, 19 Jan 2006 11:47:51 +0100 |
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))
Oliver
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.