Path: utzoo!attcan!uunet!jarthur!usc!ucsd!helios.ee.lbl.gov!nosc!logicon.com!trantor.harris-atd.com!charybdis!sonny From: sonny@charybdis.harris-atd.com (Bob Davis) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Automated extraction of programs from c.b.i.p postings. Message-ID: <3994@trantor.harris-atd.com> Date: 19 Jul 90 00:28:34 GMT References: <5213@castle.ed.ac.uk> Sender: news@trantor.harris-atd.com Reply-To: sonny@trantor.harris-atd.com (Bob Davis) Organization: Advanced Technology Dept., Harris ESS, Melbourne, FL Lines: 40 X-Local-Date: 18 Jul 90 17:28:34 PDT 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 ? >Ideally this would order the postings correctly (they sometimes appear in the >wrong order) and extract and concatenate the uuencoded text. > >Thanks > >Henry Bruce I don't recall from what forum I copied this off the net, but the following alias has worked to perfection for me. I have only to copy all parts of a posting: say POST1, POST2, POST3 to a given directory in which NO OTHER FILES RESIDE and then, in that directory, to issue the command: massuud which I have aliased to: massuud: aliased to cat * | sed /^END/,/^BEGIN/d | uudecode The files are miraculously concatenated together, everything NOT between the BEGIN and END lines of each posting is discarded; and finally, the residue is UUDECODED. This last operation virtually always--here on cbip, anyway--results in a *.zoo file. One then simply has to apply Rahul Dhesi's "unzoo-er" to extract the original files. It is quite simple (but ONLY after you have done it successfully one time!). Good luck... And, Peace. ______________________________________________________________________________ Bob Davis \\\INTERNET : sonny@trantor.harris-atd.com | _ _ | Harris Corporation, ESS \\\ UUCP : ...!uunet!x102a!trantor!sonny |_| |_| | | Advanced Technology Dept.\\\AETHER : K4VNO |==============|_/\/\/\|_| PO Box 37, MS 3A/1912 \\\VOICE : (407) 727-5886 | I SPEAK ONLY | |_| |_| | Melbourne, FL 32902 \\\ FAX : (407) 729-2537 | FOR MYSELF. |_________|