Article View: news.software.nn
Article #579Re: nn code to "decode" multi-part sources
From: Michael T Pins
Date: Mon, 11 Jan 1993 23:33
Date: Mon, 11 Jan 1993 23:33
27 lines
1981 bytes
1981 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:
arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!mtpinsReferences:
<1993Jan11.015814.24108@ilinx.wimsey.bc.ca>Show Full Headers
Complete Article Headers
Newsgroups: news.software.nn Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!mtpins From: mtpins@icaen.uiowa.edu (Michael T Pins) Subject: Re: nn code to "decode" multi-part sources Sender: news@news.uiowa.edu (News) Message-ID: <1993Jan11.233349.9054@news.uiowa.edu> Date: Mon, 11 Jan 1993 23:33:49 GMT References: <1993Jan11.015814.24108@ilinx.wimsey.bc.ca> 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