From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,8c09d4ce61e1de68,start X-Google-Attributes: gid10d4db,public From: Haykel Ben Jemia Subject: NewstoHOWTO-1.0 (First release) Date: 1995/12/23 Message-ID: X-Deja-AN: 122671478 followup-to: comp.os.linux.misc content-type: text/plain; charset=ISO-8859-1 organization: ? mime-version: 1.0 newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Hi, I'am pleased to announce the arrival of NewstoHOWTO in its first release. Here is the NEW VERSION of the README file. It was corrected and I added a very usefull TIP suggested by . So please replace the one in the package with this one ! - ---------README----------README------8<------8<-------README--------- README file to NewstoHOWTO-1.0 (c) Haykel@cs.tu-berlin.de (Haykel Ben Jemia) Hi, the best places where to get the latest versions of the 'indisponsable' HOWTOs are the newsgroups ( comp.os.linux.answers, comp.os.linux.setup, comp.os.linux.misc ...). Unfortunately, when you save them with a newsreader you always have those BIG news- and/or PGP-headers with them (I don't know if there is a possibility not to have those headers :)). If you want to always have the newest HOWTOs, you have to save ALL of them from news. How many ? 30 articles ? And then you have to take all those headers manually away? And what is about those HOWTOs that come in more than only one part????? I don't have the time or the patience to do it !!!! *******************And here comes NewstoHOWTO***************************** NewstoHOWTO will do EVERYTHING for you. It will LOOK FOR the HOWTOs that you've saved from news (so if you give him other files in the command line, it won't process them), it will PUT DIFFERENT PARTS OF ONE HOWTO TOGETHER (you don't even have to tell him about which ones belong together), it will GUESS THE NAMES OF THE HOWTOS, it will take ALL the headers away, it will COMPRESS the outputs IF YOU WANT it to, and it will put the resulting HOWTOs WHEREEVER YOU WANT THEM TO BE :) To use the program you only need what every Linux system have: * BASH * A compressing program (gzip) * grep * sed If you don't use 'gzip' or/and you don't want to use '/tmp' as the temporary directory, change that in the configuration section of the file. IMPORTANT: ========== NewstoHOWTO only works for the HOWTOs that are 'posted automatically by the Linux HOWTO coordinator, Greg Hankins '. USAGE: ====== - -> NewstoHOWTO [-h] | [-d] files [directory] -h : print the help and exit -d : make NewstoHOWTO don't compress the outputs files : files to process directory : where you want NewstoHOWTO to put the outputs If there is isn't 'directory' in the command line, the outputs will be put in the current working directory. If you put 'directory' in the command line, it MUST EXIST otherwise it will be processed as a normal file. MY TIP ON HOW TO USE NewstoHOWTO : ================================== (This refers to 'tin', it's very similar with other newsreader) * Start the newsreader ;) * Go to the newsgroup containing the HOWTOs * Tag ALL the HOWTOs you want to have * Save them (in one command) * Go to the directory where you saved the files (There can be other files in that directory) * Do : NewstoHOWTO * /usr/doc/HOWTO (change /usr/doc/HOWTO to whatever you want) If you have any seggestions or bug reports, please send them to Haykel@cs.tu-berlin.de. TIP SUGGESTED BY Joerg Mertin ============================================================ Once in a time, at night, run through a cronjob, insert as cronjob: - -----------------------------------8<------------------------------------------ 4 0 * * sun /etc/rc.d/scripts/NewstoHOWTO /usr/spool/news/comp/os/linux/a nswers/* /home/ftp/pub/packages/doc/HOWTO - ----------------------------------->8------------------------------------------ Remember: only 1 Line :) Makes you a complete HOWTO Set in your usual HOWOT Directory ! So... Have fun ! Haykel - ---------README----------README------8<------8<-------README--------- and here is the LSM : Begin3 Title: NewstoHOWTO Version: 1.0 Entered-date: 09DEC95 Description: A skript to eliminate the headers from HOWTOs that were saved from a News article. Different parts of a HOWTO that are saved in different files (like by "tag"ing and "save"ing them with "tin") will be put together in one output file. You can give a directory to put the prcessed files in. By default the files will be compressed. Keywords: News, HOWTO, tin, Emacs-GNUS, News Reader, NewstoHOWTO Author: Haykel@cs.tu-berlin.de (Haykel Ben Jemia) Primary-site: sunsite.unc.edu /pub/Linux/Incoming NewstoHOWTO-1.0.tar.gz Platforms: BASH Copying-policy: Leave my name and do what you want ;) End I hope you will find it usefull ;) Have fun and HOWTO - -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Haykel Ben Jemia _/_/_/_/_/_/_/_/_/_/_/_/ _/ Mail : Haykel@cs.tu-berlin.de _/_/_/_/_/_/_/_/_/ _/ Voice : ++49-030-306 60 34 _/_/_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMNu0y4QRll5MupLRAQFgOQP/U41XUZwUNo7s9472S4QgdRS8LcErQ8wx NYE0tYBABZ4eLw+TgFCa/mvSrvMMqgYb8s5T49ENaYfip0nMf/YNTG+MZka63eGt ml0vfW/cKT7zFzyp+G9x6IfDxJS0oA03nMfI1toXrnQc8CMq5rCsG+H0/ntZP3tQ LwgOqhtMDU8= =nu1o -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.