nmh-workers
[Top] [All Lists]

[Nmh-workers] Getting a list of message numbers into a script

2013-10-27 10:36:57
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 "s@.*/@@" -e "s@\n@@"

Is there a cleaner way?

    Norman Shapiro

_______________________________________________
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>