On 19 November 2002 at 16:35, Jon Steinhart <jon(_at_)fourwinds(_dot_)com>
wrote:
I'd like to see an indented
scan that shows something like
5785+ 11/19 Eric Gillespie Re: The continuing install-mh saga<<Jon Steinhar
.1 <image/jpeg>
.2 <image/jpeg>
ant then be able to do show/next/prev on stuff.
This is only part of what Jon wants, but it might be useful to some
people: use "sort -m" to merge the outputs of scan and mhlist. The
way this works by default (with no tweaking from a little script)
isn't perfect, but it's pretty good. Here's an example:
$ scan last:4 > scan.out
$ cat scan.out
7767 U11/10 To:jpeek NYTimes.com Article: A New Platform for the New
7768 U11/10 To:jpeek NYTimes.com Article: Generic Version of Acne Dru
7769 U11/10 new_articles(_at_)info Stuart McClure Shares Web Security Tips for
Syst
7770+U11/10 To:jpeek NYTimes.com Article: Bill Gates to Tour India Am
$ mhlist last:4 > mhlist.out
$ cat mhlist.out
msg part type/subtype size description
7767 text/plain 2066
7768 text/plain 1101
7769 multipart/alternative 29K
1 text/html 28K
2 text/plain 366
7770 text/plain 6825
$ sort -nm +0.0 -0.4 scan.out mhlist.out
msg part type/subtype size description
7767 text/plain 2066
7767 U11/10 To:jpeek NYTimes.com Article: A New Platform for the New
7768 text/plain 1101
7768 U11/10 To:jpeek NYTimes.com Article: Generic Version of Acne Dru
7769 multipart/alternative 29K
1 text/html 28K
2 text/plain 366
7769 U11/10 new_articles(_at_)info Stuart McClure Shares Web Security Tips for
Syst
7770 text/plain 6825
7770+U11/10 To:jpeek NYTimes.com Article: Bill Gates to Tour India Am
Jerry
--
Jerry Peek, jpeek(_at_)jpeek(_dot_)com, http://www.jpeek.com/