Thread View: news.software.nn
2 messages
2 total messages
Started by Kim F. Storm
Mon, 23 Jul 1990 23:00
Re: Automated extraction of programs from c.b.i.p postings.
Author: Kim F. Storm
Date: Mon, 23 Jul 1990 23:00
Date: Mon, 23 Jul 1990 23:00
37 lines
2028 bytes
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!
Re: Automated extraction --- Please no more!
Author: Julio Raposo
Date: Wed, 25 Jul 1990 08:49
Date: Wed, 25 Jul 1990 08:49
16 lines
1855 bytes
1855 bytes
Sometimes someone asks a question and everybody starts suggesting things about it. If you feel that you cannot keep your opinions for yourself please use e-mail. The volume of postings is getting too high and it is almost impossible to keep up, so please post only when it is necessary that we all can read it. About the automated extraction: I managed to automate it with two small scripts, one in csh, the other in awk. Since GNU-awk is available, awk is also available in every machine. The csh script can easily be converted to Bourne shell or even a DOS batch file. If that prooves to be too complicated I think it can also be written in C, Pascal or other and compiled for every machine. Those scripts are running daily on my unix machine, catching all c.b.i.p postings regardless of the order or size. For more information please email to ajr@cybill.inesc.pt or ajr@cybill.inesc.UUCP.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads