🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1845

saving articles from a script

#1845
From: Milt Epstein
Date: Thu, 11 Jul 1991 04:55
25 lines
1607 bytes

I was wondering if there was a way to save articles from a shell
script (i.e in UNIX).  That is, I know what newsgroup I want to go to,
and I want to save to a particular file all articles whose subject (or
some subpart thereof) matches a certain string, and do all this by
running a shell script.

I couldn't find anything that seemed appropriate in the nn man page.
Then I noticed that there was a program nnbatch, but there was no
manpage for it, so I couldn't tell what it did.  But I did try running
it, and it looks like it might be for running nn in batch mode, since
I got some error message about trying to take terminal input while in
batch mode.

Any help would be appreciated.  Thanks.




-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Technical Details
Message-ID: <287BE4B1.1448@ibma0.cs.uiuc.edu>
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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!lll-winken!fnnews!mp.cs.niu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc2.cs.uiuc.edu!epstein

Show Full Headers
Complete Article Headers
Message-ID: <287BE4B1.1448@ibma0.cs.uiuc.edu>
Subject: saving articles from a script
Date: Thu, 11 Jul 1991 04:55:13 +0000
From: epstein@sunc2.cs.uiuc.edu (Milt Epstein)
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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!lll-winken!fnnews!mp.cs.niu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc2.cs.uiuc.edu!epstein
Newsgroups: news.software.nn
Summary: saving articles from a script
Sender: news@ibma0.cs.uiuc.edu
Organization: University of Illinois at Urbana-Champaign
Lines: 23