🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2990

Re: Want list of articles (in newsgroup) into file

#2990
From: Sven Guckes
Date: Sat, 15 Aug 1992 12:44
28 lines
1962 bytes
sherman@unx.sas.com (Chris Sherman) writes:

>In <1992Aug14.142735.19282@mixcom.com> amby@mixcom.mixcom.com (amby) writes:
>
>>Given that I am in a newsgroup, and I have the menu for article selection,
>>how can I generate a listing of the contents of the newsgroup to a file?
>>I want to give a copy to someone that does not read news, in order to show
>>what types of information a newsgroup contains.
>
>I have one solution:
>
>Save all the articles of the newsgroup in question to a file called, say,
>nn.file.  Then leave nn and run the following command:
>
>grep "^Subject: " < nn.file > subjects
>
>Then blow away the nn.file.  The file 'subjects' will then contain all
>the subjects from the articles you saved.  You can then use sort -u and
>other tools to shave the file down.  If you don't have enough room in your
>home directory for nn.file, then try using the /tmp directory.

To get a list of subject lines of _all_ available postings - do this:

grep "^Subject: " /var/spool/news/news/answers/* > subjects

This will extract all subject from all postings in the newsgroup "news.answers".
The path "/var/spool/news" may be different on your system, so substitute
the appropriate path.
Technical Details
Message-ID: <0X35U2H@math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!math.fu-berlin.de!guckes
References: <1992Aug14.142735.19282@mixcom.com> <sherman.713847226@foster>

Show Full Headers
Complete Article Headers
Message-ID: <0X35U2H@math.fu-berlin.de>
Subject: Re: Want list of articles (in newsgroup) into file
Date: Sat, 15 Aug 1992 12:44:13 GMT
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <1992Aug14.142735.19282@mixcom.com> <sherman.713847226@foster>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!math.fu-berlin.de!guckes
Newsgroups: news.software.nn
Summary: Question, Answer1, Answer2 (mine)
Originator: guckes@medusa
Sender: news@math.fu-berlin.de (Math Department)
Organization: Free University of Berlin, Germany
Lines: 28