home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / LNDMPR97.ZIP / LINEDUMP.DOC < prev    next >
Text File  |  1994-02-11  |  4KB  |  119 lines

  1.  LineDumper 0.97 beta
  2.  PCBoard & General text file line trimmer.
  3.  Copyright (c) 1993 by Richard Flathmann & the Silicon SysOp
  4.  All Rights Reserved
  5.  01/16/94
  6.  
  7.  **********************************************************************
  8.  
  9.  -------
  10.  Purpose
  11.  -------
  12.  Don't you hate all those extra lines PCBoard and other programs add 
  13.  to log files? I got sick of looking at my 3.4 megabyte callers log 
  14.  and seeing that half of it was garbage I would never need.
  15.  
  16.  Line Dumper will trim lines from any text file that contain up to 10 
  17.  specified search strings. There is also an option for it to KEEP any 
  18.  of those "to kill" lines if followed by any of 5 other text strings. 
  19.  See the LINEDUMP.CFG file for a better picture of what I mean here.
  20.  
  21.  This program is relatively fast. I trimmed a 3.4 meg/79,432 line log file 
  22.  down to 1.6meg/31,682 line file in 2.13 minutes on a 486DX/2-66 using the
  23.  /NS option (see below). Your mileage may vary.
  24.  
  25.  --------------------
  26.  Unregistered Version
  27.  --------------------
  28.  Don't you also hate crippleware that keeps you from really seeing 
  29.  what a shareware program can do? There are no features disabled in 
  30.  this program. The Unregistered version simply has a delay at the END 
  31.  of processing and asks you to hit a key. It will not explode after 30 
  32.  days. I figure if you use it infrequently enough to not lay out $7.00,
  33.  then it's not worth it for you.
  34.  
  35.  ------------
  36.  Instructions
  37.  ------------
  38.  Check out the LINEDUMP.CFG file which contains about all the info you 
  39.  need to run it if you hate reading docs like I do. 
  40.  
  41.  There are 2 possible command line parameters.
  42.  
  43.  /NS - No Screen output. This cuts the processing time by an average of 
  44.        40%. This is essentially for EVENT processing.
  45.  
  46.  The second option is the name & location of your LINEDUMP.CFG file. This 
  47.  should include any necessary information like drive and path if required.
  48.  This will allow you to have multiple CFG files so you don't have to 
  49.  modify the same one over and over.
  50.  
  51.  If you do not specify one, it will look in the current directory for 
  52.  LINEDUMP.CFG.
  53.  
  54.  -----------------------                  
  55.  Requirements and Limits
  56.  -----------------------
  57.  I have tested this program on a 96,000 line file with no ill effects 
  58.  running under OS/2 and Desqview in as little as 90k!
  59.  
  60.  ---------
  61.  Liability
  62.  ---------
  63.  Sorry but I cannot be held responsible for anything that happens while
  64.  running Line Dumper. I have tested it to the best of my ability and
  65.  have found it to be both physically and mentally stable.
  66.  
  67.  ----------------------------           
  68.  REGISTRATION & CONTACTING ME
  69.  ----------------------------
  70.  Send a check or money order for $7.00 to the address listed below.
  71.  Include your full name and a password. I will post a fresh copy of
  72.  Line Dumper within 24 hours of receipt along with an account on my
  73.  BBS for you to access it.
  74.  
  75.  If you require a disk be mailed to you, specify size & density and 
  76.  include an additional $3.00.
  77.  
  78.  You may contact me in any of the following ways:
  79.   
  80. BBS:
  81.  
  82.  the Silicon SysOp - 607/293-6015, 14.4 d/s, 4 nodes
  83.           Salt Air - You'll know this # if you're allowed to call it!
  84.  
  85. Voice: 607/293-8155, Mon-Fri 10am-6pm
  86.  
  87. Mailing Address:  Richard Flathmann
  88.                   RD#1, Box 199
  89.                   Mount Vision, NY 13810
  90.  
  91.  
  92. Here's an example of how I use it in my nightly event:
  93.  
  94. rem --------------------  TRIM DCALx.LOG's
  95. cd\pcb                                       < change to .CFG directory
  96.  
  97. linedump linedmp1.cfg /ns                    < run linedump for each
  98. linedump linedmp2.cfg /ns                    < nodes daily caller log
  99. linedump linedmp3.cfg /ns                    < on my system
  100. linedump linedmp4.cfg /ns                    <
  101.  
  102. copy d:\zwork\dcal1.new c:\pcb\main\dcal1    < copy the cleaned up
  103. copy d:\zwork\dcal2.new c:\pcb\main\dcal2    < output files to
  104. copy d:\zwork\dcal3.new c:\pcb\main\dcal3    < overwrite the
  105. copy d:\zwork\dcal4.new c:\pcb\main\dcal4    < original logs
  106.  
  107. del d:\zwork\*.new                           < delete the ones we just copied
  108.  
  109. rem ---------------- update CALLERS Archive
  110. cd \pcb\main
  111. copy callers1+dcal1                   < Here I append the daily logs
  112. del dcal1                             < to the accumulated logs.
  113. copy callers2+dcal2
  114. del dcal2
  115. copy callers3+dcal3
  116. del dcal3
  117. copy callers4+dcal4
  118. del dcal4                
  119.