Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ucla-cs.ARPA
Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!zehntel!hplabs!sdcrdcf!trwrba!cepu!ucla-cs!dimare
From: dimare@ucla-cs.UUCP
Newsgroups: net.sources
Subject: rdm? A better interface than v/readnews
Message-ID: <804@ucla-cs.ARPA>
Date: Tue, 14-Aug-84 16:13:40 EDT
Article-I.D.: ucla-cs.804
Posted: Tue Aug 14 16:13:40 1984
Date-Received: Thu, 16-Aug-84 07:16:03 EDT
Organization: UCLA CS Dept.
Lines: 26

Sorry, but postnews didn't deliver my first message, only the second.

What I want is a program that can look up the .newsrc file (to figure
out which groups I'm suscribed), and then concatenate together all
the corresponding messages separating one from another by some
special line, like .

This would let me use the rdm (UCLA) command to read the news. The advantage
of rdm is that it can list a full screen of subjects, and lets you skip
fast over the messages you don't want to read. As an example, whenever
I receive ai-digest, I create a file of the same name and then execute
the following command:

awk '/^Date/ { print ""} { print }' ai-digest > t; rdm t; rm t

which means: look for Date at the beginning of the line, and when found
precede it by . After this, rdm can recognize message boundaries.
Then use rdm to read the mail in file t, and then kill it.

The problem on writing this shell script is handling the .newsrc file.
Does anybody have something similar?


	Adolfo
	      ///
	dimare@ucla-locus.arpa