home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR13 / RDUP102.ZIP / RDUP.DOC < prev    next >
Text File  |  1993-10-26  |  3KB  |  89 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                       RDUP
  7.          Free DOS utility: delete duplicate lines across multiple files
  8.                         Version 1.02 - October 22, 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 only the *last* would then be saved:
  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. a subdirectory below the current one, and will have the exact same
  42. names as the originals.
  43.  
  44. Throughout the entire process, RDUP informs the user of the actions
  45. which it is taking.
  46.  
  47.                     *** Technical Information ***
  48.  
  49. RDUP first creates a subdirectory called "rdup#dir", and copies all
  50. the specified files into a master file called "rdup#fil", in the newly
  51. created directory.
  52.  
  53. Then, RDUP does its work.  Most of what it does is internal, but twice
  54. RDUP shells out to run a sorting program, which you must provide.  It
  55. runs a batch file (or alias) called "RDUPSORT", which in turn runs the
  56. user specified sort program.
  57.  
  58. An example batch file is provided.  RDUPSORT.BAT call's Robert Pirko's
  59. RPSORT.COM program, but can easily be modified for other sort programs.
  60. The sort program that comes with MS-DOS is marginally acceptable.
  61.  
  62. Besides RPSORT, I have tested PDSORT and SORTF.  Although SORTF is
  63. small and fast, it doesn't work well with my RDUP program.  PDSORT
  64. works better with RDUP than SORTF, and is free, but larger and slower.
  65. RPSORT is the best, and is free.  I haven't tested others.
  66.  
  67. I left the choice up to the user because I cannot write one that is as
  68. good as any of these.
  69.  
  70. Since the original files are left untouched, the new ones are placed
  71. in the "rdup#dir" directory.  They have the same names as the originals.
  72.  
  73. After examining the new ones to confirm that they are fine, the
  74. originals can be replaced, and the temporary directory removed.
  75.  
  76. {------------------------------------------------------------------------------
  77.  
  78.                                 REVISION HISTORY
  79.  
  80. v1.00  : 1993/10/07.  First public release.  DDA
  81. v1.01  : 1993/10/22.  Fix: wasn't deleting a temporary file.  DDA
  82.                       Changed RDUPSORT.BAT to comply with RPSORT,
  83.                         an excellent and fast freeware sorter.  DDA
  84.                         RPSRT102 is on Channel 1, the FHOF BBS, and elsewhere.
  85. v1.02  : 1993/10/26.  All dups placed in a report file, "rdup_del.dat".  DDA
  86.  
  87. ------------------------------------------------------------------------------}
  88.  
  89.