Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!jato!neuron1!harry From: harry@neuron1.Jpl.Nasa.Gov (Harry Langenbacher) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Automated extraction of programs from c.b.i.p postings. Message-ID: <4338@jato.Jpl.Nasa.Gov> Date: 19 Jul 90 17:22:02 GMT References: <5213@castle.ed.ac.uk> Sender: news@jato.Jpl.Nasa.Gov Reply-To: harry@neuron1.jpl.nasa.gov (Harry Langenbacher) Organization: Jet Propulsion Laboratory, Pasadena CA Lines: 66 In article <5213@castle.ed.ac.uk> 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 ? ----------pieces of old articles---------------- >Article 1911 of alt.sources: >From: csu@alembic.acs.com (Dave Mack) >Newsgroups: alt.sex.pictures,comp.lang.perl,alt.sources,alt.sex.graphics >Subject: uumerge.perl - merge and uudecode split uuencoded files >Date: 9 Jun 90 17:43:03 GMT >Sender: csu@alembic.acs.com (Dave Mack) a perl script called uumerge, which takes a collection of split uuencoded files, strips off the e-mail garbage, signatures and other drivel, and pipes the resulting data stream through uudecode. The files must be in the correct order on the command line, must be uuencoded using the "M" default (61 characters per line), and must form a complete set - the first file must contain the "begin" line, the last file must contain the "end" line, and must form only one uuencoded file. Please read the comments at the beginning of the script before using. Example: I saved the three-part uuencoded gif posting of glynn in alt.sex.pictures as glynn.gif.uu.part[1-3]. The following command produced a useable glynn.gif file: uumerge glynn.gif.uu.* The main advantage of this script over the others that have been posted to alt.sex.pictures so far is that it doesn't care how the poster delimited the start and end of the uuencoded data - it doesn't look for specially formatted "cut" lines. It relies on the uuencoded data being in a specific form, which every uuencoded posting to asp has had so far. I'd appreciate reports of corrections and improvements. I leave it to someone else to write the sh/sed/awk version of this. -- Dave Mack csu@alembic.ACS.COM >Article 1913 of alt.sources: >From: csu@alembic.acs.com (Dave Mack) >Newsgroups: alt.sex.pictures,alt.sources,comp.lang.perl >Subject: uumerge Patch 1 >Date: 11 Jun 90 06:31:58 GMT Apparently some versions of uudecode are too stupid to ignore anything in a file preceding a "begin" line, so when a single file is fed to uumerge, it will fail. This patch corrects the problem. Feed this article to patch in the appropriate directory or make the changes by hand. patch -d < patch1 ----------end of pieces of old articles---------------- original script and patch deleted. - Harry Langenbacher 818-354-9513 harry%neuron1@jpl-mil.jpl.nasa.gov harry@neuron1.jpl.nasa.gov 128.149.12.7