home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / RDUP100.ZIP / RDUP.DOC < prev    next >
Text File  |  1993-10-07  |  3KB  |  73 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                       RDUP
  7.          Free DOS utility: delete duplicate lines across multiple files
  8.                         Version 1.00 - October 07, 1993
  9.                                     (c) 1993
  10.                                        by
  11.                              David Daniel Anderson
  12.                                    Reign Ware
  13.  
  14.  
  15.  
  16.  
  17.  
  18. RDUP deletes duplicate lines across multiple files.  RDUP requires an
  19. external sorting program, which is not supplied.  See details below.
  20.  
  21. Usage:  RDUP file_spec [/i (=case Insensitive)]
  22.  
  23. RDUP takes one or two parameters on the command line.  The first is
  24. mandatory.  It is the file or files that you wish to process.  Only
  25. one specification may appear, but it may contain wildcards (* and ?).
  26.  
  27. Example:  RDUP *.tag
  28.  
  29. The above would process all files in the current directory with an
  30. extension of ".tag".
  31.  
  32. Example:  RDUP *.tag /i
  33.  
  34. Same as the first, except the following two lines would be considered
  35. identical, and the *second* would thus be removed:
  36.  
  37. Pleasant thoughts lead to nasty deeds.
  38. PLEASANT THOUGHTS LEAD TO NASTY DEEDS.
  39.  
  40. The original files are not touched.  New files will be in "rdup#dir",
  41. and will have the exact same names as the originals.
  42.  
  43. Throughout the entire process, RDUP informs the user of the actions
  44. which it is taking.
  45.  
  46.                     *** Technical Information ***
  47.  
  48. RDUP first creates a subdirectory called "rdup#dir", and copies all
  49. the specified files into a master file called "rdup#fil", in the newly
  50. created directory.
  51.  
  52. Then, RDUP does its work.  Most of what it does is internal, but twice
  53. RDUP shells out to run a sorting program, which you must provide.  It
  54. runs a batch file (or alias) called "RDUPSORT", which in turn runs the
  55. user specified sort program.
  56.  
  57. An example batch file is provided.  RDUPSORT.BAT call's Vern Buerg's
  58. SORTF.COM program, but can easily be modified for other sort programs.
  59. The sort program that comes with MS-DOS is marginally acceptable.
  60.  
  61. PDSORT works better with RDUP than SORTF, and is free, but larger and
  62. slower.  I haven't tested others.
  63.  
  64. I left the choice up to the user because I cannot write one that is as
  65. good as any of these three.
  66.  
  67. Since the original files are left untouched, the new ones are placed
  68. in the "rdup#dir" directory.  They have the same names as the originals.
  69.  
  70. After examining the new ones to confirm that they are fine, the
  71. originals can be replaced, and the temporary directory removed.
  72.  
  73.