home *** CD-ROM | disk | FTP | other *** search
- CLEANZ v1.2 by Phil Herron REGISTRATION $15.00
- STRIP EOF CONTROL-Z UTILITY HERRON JAN90 UTIL
-
- Update
-
- * Strips or replaces control-Z end-of-file characters.
-
- * Can be incorporated into batch routines.
-
- * Quantity discounts for multiple registrations.
-
- * NEW in this version:
- DOS ErrorLevel now returned upon termination.
- On-screen indication of each control-Z found.
-
-
- Syntax: CLEANZ [filespec] [-replacementChar]
-
-
- CLEANZ strips or replaces control-Z characters, also known
- as EOF (end-of-file) characters, from any file type.
-
- Many text editors and word processors, including the DOS
- EDLIN utility, mark the end of a text file with one or more
- control-Z characters (variously known as ^Z, decimal 26, or
- hex 1A).
-
- If the file is later appended to by some means other than
- the editor, the added text will appear after the ^Z
- character. Then when the file is edited, you won't find the
- appended text; the editor does not look beyond the "End-Of-
- File" character.
-
- A way around this limitation is to delete the ^Z character,
- or change it to some other character, so your editor will
- read beyond it to the appended text.
-
- CleanZ performs this function by reading the specified file,
- then writing a new file without the ^Z characters (or
- optionally changing them to another selected character).
- It saves the original file with the extension .BAK.
-
- CLEANZ can be called from a batch file. The documentation
- includes a routine that can be used to combine up to five
- files per operation. It uses the DOS "type" command and
- redirection to append files, then calls CLEANZ to replace
- any control-Z characters in the resulting file.
-
- CLEANZ returns a DOS ErrorLevel value which can be used to
- control subsequent operations.
-
-
- Hardware Requirements : IBM PC, XT, AT or compatible
- with at least 80K RAM.
-
- Other Requirements : DOS 2.1 or later.
-
- (SDA format Copyright 1990 SDN Project for SDNet/Works! (sm))
- JAN90 UTIL
-