home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / 4HIST.ZIP / 4HIST.DOC < prev    next >
Text File  |  1993-09-08  |  2KB  |  61 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                    4HIST.BTM
  7.            Free 4DOS utility: command history duplicate entry deleter
  8.                        Version 1.00 - September 08, 1993
  9.                                     (c) 1993
  10.                                        by
  11.                              David Daniel Anderson
  12.                                    Reign Ware
  13.  
  14.  
  15.  
  16.  
  17.  
  18. 4HIST removes all superfluous lines from the current 4DOS command history
  19. list.  A tiny batch file is included to automate processing.
  20.  
  21. Usage: 4HIST file [/i (ignore case)]
  22.  
  23. 4HIST can be run from the command line or via a batch file (4H.BTM is
  24. included for this purpose).
  25.  
  26. 4HIST takes one or two parameters.  The first must be the name of the file
  27. containing the command history list.  You can produce this file in 4DOS by
  28. entering:  HISTORY >file  (use "HISTORY /R file" to read the list back into
  29. memory).
  30.  
  31. The second parameter is optional.  It is a slash followed by the letter
  32. "i" or "I".  This parameter instructs 4HIST to ignore case when
  33. determining duplicates, which slows 4HIST down considerably.  Default is
  34. to only recognize -exact- duplicates.
  35.  
  36. See the included batch file 4H.BTM for an example of how to use 4HIST.
  37.  
  38. 4HIST provides some basic information about the data being processed:
  39.  
  40. 1) It displays a "twirling bar" which pulses once for each command entry
  41.    processed.  The faster the bar twirls, the faster 4HIST is working.
  42. 2) When done, it tells how many commands existed prior to processing, and
  43.    how many exist afterwards.
  44. 3) When done, it tells how many bytes the commands used in the 4DOS memory
  45.    allocation before processing, and how many they will use afterwards.
  46.    NOTE: this figure is -not- the same as the file size.  This is because
  47.    in a file, both a carriage return -and- a line feed are appended to
  48.    each line, but in RAM, only one is needed.
  49.  
  50.  
  51. NOTE: This program may work, with modifications, with other command
  52.       history programs. I can not, and probably will not, test it.
  53.       However, if you can and do, I would appreciate hearing how it
  54.       performs.  I will distribute any modified copies you send me
  55.       (on disk or simply a printed source listing).
  56.  
  57. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  58.  
  59. 4DOS (r) is a registered trademark of JP Software Inc.
  60.  
  61.