🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #744

Re: Automated extraction of programs from c.b.i.p postings.

#744
From: Kim F. Storm
Date: Mon, 23 Jul 1990 23:00
37 lines
2028 bytes

>elee24@castle.ed.ac.uk (H Bruce) writes:
>>Does anyone have an automated way of extracting programs from the postings in
>>comp.binaries.ibm.pc ?

mrh@camcon.co.uk (Mark Hughes) writes:
>I use the following Unix shell script with the newsreader nn (which orders
>the postings for me):

I don't understand why you need to pipe from nn to a shell script -
maybe you are using a really old nn version?

In release 6.4 of nn, you simply select *all* the articles you want to decode
(they can be for multiple multi-part packages), on all menu pages.

Then you enter :decode and the name of a directory where you want the
decoded files to be placed.  nn will then skip garbage from the header
and tail (headers are stored in Decode.Headers), concatenate the uuencoded
data, and perform the decoding storing the result in the file names specified
on the "begin" line.

To decode all articles, simply enter:

	=.(return)		selects all articles
	:decode(return)		call the decoder
	~/pc-sw			the directory where the decoded file should go.
	+			decode all selected articles

Thats it!
You can even define it in a macro and invoke it with a single key-stroke!

So to decode everything, just hit ^D (or F3 or whatever you bind it to).

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <633@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!njin!uupsi!sunic!dkuug!tidk!storm
References: <5213@castle.ed.ac.uk> <7899@titan.camcon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <633@texas.dk>
Subject: Re: Automated extraction of programs from c.b.i.p postings.
Date: Mon, 23 Jul 1990 23:00:52 +0000
From: storm@texas.dk (Kim F. Storm)
References: <5213@castle.ed.ac.uk> <7899@titan.camcon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!njin!uupsi!sunic!dkuug!tidk!storm
Newsgroups: comp.binaries.ibm.pc.d,news.software.nn
Organization: Texas Instruments, Denmark
Lines: 36