[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Getting a list of message numbers into a script
From: |
norm |
Subject: |
Re: [Nmh-workers] Getting a list of message numbers into a script |
Date: |
Sun, 27 Oct 2013 09:03:17 -0700 |
David Levine <address@hidden> writes:
>Norm wrote:
>
>> Is there a good way to get a list of message numbers into a bash script,
>> without the prefixes normally attached by mhpath and mark. What I've been
>> doing is something ugly like:
>>
>>
>> $(mhpath first:3 17 last:4| sed -e "address@hidden/@@" -e
>> "address@hidden@@"
>>
>> Is there a cleaner way?
>
>Yes, use pick:
>
>$(pick first:3 17 last:4)
Yes, of course But why do you clog the net with such obvious stuff.:-):-)
Norman Shapiro