home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / wp3 / cleanz12.doc < prev    next >
Text File  |  1990-01-05  |  2KB  |  60 lines

  1. CLEANZ v1.2 by Phil Herron               REGISTRATION $15.00
  2. STRIP EOF CONTROL-Z UTILITY HERRON JAN90 UTIL
  3.  
  4. Update
  5.  
  6. *  Strips or replaces control-Z end-of-file characters.
  7.  
  8. *  Can be incorporated into batch routines.
  9.  
  10. *  Quantity discounts for multiple registrations.
  11.  
  12. *  NEW in this version:
  13.    DOS ErrorLevel now returned upon termination.
  14.    On-screen indication of each control-Z found.
  15.  
  16.  
  17. Syntax: CLEANZ [filespec] [-replacementChar]
  18.  
  19.  
  20. CLEANZ strips or replaces control-Z characters, also known
  21. as EOF (end-of-file) characters, from any file type.
  22.  
  23. Many text editors and word processors, including the DOS
  24. EDLIN utility, mark the end of a text file with one or more
  25. control-Z characters (variously known as ^Z, decimal 26, or
  26. hex 1A).
  27.  
  28. If the file is later appended to by some means other than
  29. the editor, the added text will appear after the ^Z
  30. character.  Then when the file is edited, you won't find the
  31. appended text; the editor does not look beyond the "End-Of-
  32. File" character.
  33.  
  34. A way around this limitation is to delete the ^Z character,
  35. or change it to some other character, so your editor will
  36. read beyond it to the appended text.
  37.  
  38. CleanZ performs this function by reading the specified file,
  39. then writing a new file without the ^Z characters (or
  40. optionally changing them to another selected character).
  41. It saves the original file with the extension .BAK.
  42.  
  43. CLEANZ can be called from a batch file.  The documentation
  44. includes a routine that can be used to combine up to five
  45. files per operation.  It uses the DOS "type" command and
  46. redirection to append files, then calls CLEANZ to replace
  47. any control-Z characters in the resulting file.
  48.  
  49. CLEANZ returns a DOS ErrorLevel value which can be used to
  50. control subsequent operations.
  51.  
  52.  
  53. Hardware Requirements : IBM PC, XT, AT or compatible
  54.                         with at least 80K RAM.
  55.  
  56. Other Requirements    : DOS 2.1 or later.
  57.  
  58. (SDA format Copyright 1990 SDN Project for SDNet/Works! (sm))
  59. JAN90 UTIL
  60.