🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3593

Re: nn code to "decode" multi-part sources

#3593
From: Michael T Pins
Date: Mon, 11 Jan 1993 23:33
27 lines
2195 bytes
brian@ilinx.wimsey.bc.ca (Brian J. Murrell") writes:

>I'm hoping somebody out there familiar with the source code can 
>help me.  I'm making a utility to extract the news articles out
>of a newsgroup and use them to create a previously split uuencoded
>posting.  I've gotten to the point where I can put all of the
>articles back together into files.

>What I need now is a utility to remove the junk in-between uuencoded
>chunks of the file.  I have written an awk script to do this, but it
>is really ugly!! nn seems to do this quite nicely.

>I would do this myself, but I lost my copy of the source to nn, and
>really would like to avoid downloading the whole package, if I could.

>Even a pointer to which C source file could save me tons of time.

You'll likely want to strip the headers and tails off each article before
cat'ing them together.  You may want to grab the source for uucat, which
does exactly this, and take a look at it.  You can find the uucat source
at grind.isca.uiowa.edu in the unix/utils area.

-- 
*****************************************************************************
* Michael Pins                |   Internet: amigapd@isca.uiowa.edu          *
* ISCA's Amiga Librarian      |         #include <std.disclaimer>           *
*****************************************************************************
Technical Details
Message-ID: <1993Jan11.233349.9054@news.uiowa.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!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!mtpins
References: <1993Jan11.015814.24108@ilinx.wimsey.bc.ca>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jan11.233349.9054@news.uiowa.edu>
Subject: Re: nn code to "decode" multi-part sources
Date: Mon, 11 Jan 1993 23:33:49 GMT
From: mtpins@icaen.uiowa.edu (Michael T Pins)
References: <1993Jan11.015814.24108@ilinx.wimsey.bc.ca>
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!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!mtpins
Newsgroups: news.software.nn
Sender: news@news.uiowa.edu (News)
Nntp-Posting-Host: l_cae11.icaen.uiowa.edu
Organization: University of Iowa, Iowa City, IA, USA
X-Newsreader: NN version 6.4.19
Keywords: c code multi-part decode
Lines: 27