Compress.rexx v1.5 ================== © 1993 Robert Hofmann 2:2400/24@fidoclassic 16:100/9024@zyxelnet 39:171/101@amiganet 47:52/23@fisnet Robert_Hofmann@f24.n2400.z2.wnbbs.nbg.sub.org I. Copyright and Distribution Conditions ---------------------------------------- COMPRESS is copyrighted freeware. It may be freely distributed, given the following conditions: * Written permission from the author must be obtained if COMPRESS is to be included in any commercial software package. * The entire contents of the COMPRESS-archive must be distributed whole; pieces may not be left out, nor may they be changed. In particular, you may not claim authorship of COMPRESS. * COMPRESS may be uploaded to BBS systems and electronic networks, IF and ONLY IF those systems make no copyright or ownership claims to uploaded software. The copyright on COMPRESS is owned solely by the author. * Since COMPRESS is provided free of charge, no claims are made about its suitability for any particular purpose, nor the quality or robustness of the software or documentation. The author will make an effort to resolve bugs in the software; he simply reserves the right not to. The basic concept is that you should use it in good faith and not make a profit from it nor claim it as your own. BUGFIX OR UPDATE INFOS DONE BY YOU MAY BE ADDED BUT YOU ARE NOT ALLOWED TO SPREAD CHANGED VERSIONS!!! II. Why COMPRESS? ----------------- I wrote this script, because I needed it to speed up DMreply, a script for EMS (Elecronic Mail System, the FidoNet/Usnet mailprocessor for the Amiga), which was written be Davide Massarenti, who is a VERY GOOD C++ programmer, but also uses C++-source-style for ARexx, which DRAMATICALLY slows down ARexx. This is because ARexx is no compiler but a Line-By-Line script- interpreter, which will be faster if more stuff is written in one line. This little script will remove all unnecessary stuff from any ARexx-Script, what might speed it up very much. III. Requirements ----------------- - WB & KS 2.04 or higher, may run under 1.x, but not tested! - ARexx Version 1.15 (included in the original OS 2.0 - Packet). May also work with versions <1.15, but not tested. - Rexxsupport.library in libs: IV. Usage --------- RX CRUNCH [max. line-length] [FORCE] Default: 1024 Option FORCE: This will override the security checks. Important notes: - NEVER DELETE YOUR ORIGINAL SCRIPT!!! It will be very hard to find an error in a crunched script!!! - ONLY CRUNCH A SCRIPT WHEN IT IS REALLY WORKING!!! - NEVER CRUNCH IT TWICE! V. History ---------- - 1.0 First release - 1.1 + Added statistic output - 1.2 o Fixed a bug in statistic-calculation - 1.3 o Fixed a serious compression-bug. Now a "," at the end of a line will be handled correct. - 1.4 + Added security-checks - 1.5 o Fixed a serious bug in in "," check. Any comments (ideas, bugreports, critic) to _ o Robert Hofmann 2:2400/24@fidoclassic 16:100/9024@zyxelnet |<)_/# 39:171/101@amiganet 47:52/23@fisnet TT