CLEANTXT

Prev Next Home Home Table Of Contents Index

CLEANTXT.EXE - Cleans up Nasty Text Files

Download:
CLEANTXT.ZIP

This program converts text files between DOS, UNIX, and MACINTOSH formats and is used to clean up files. CleanTxt reads all text file formats and can output text for different operating system text file formats. DOS files use CR,LF. UNIX uses only LF, and some MAC programs use only CR. Some strange programs reverse the CR and the LF confusing standard editors. CleanTxt is designed to clean up these files so you can work with them.

This program is useful where you would download several hundred web pages from a Unix web server for mas conversion. However, your software does not like Unix text files. CleanTxt can convert your web pages to Dos format, allow you to process them, and then convert them back for uploading.

CleanTxt also removes double CR characters left by Netscape when saving a web page source. It also wraps long lines at 255 or less characters and breaks the lines at spaces or HTML tags. This is handy for web pages that put everything on one long line. It also removes trailing spaces at the end of lines. A switch is provided to strip the high bit on text files to convert old Wordstar files to raw text. CleanTxt removes the ^Z from the end of DOS text files. CleanTxt preserves the date and time stamps on a file.

Wildcards are supported to convert all files in the directory.

When this program is run under an operating system that supports long file names, this program will use long names. Currently Windows 95/98 works with long names. Windows NT4.x does not.


 Usage:
   CLEANTXT <NAME> <OPTIONS>
   CLEANTXT <INPUT> <OUTPUT> <OPTIONS>

Option Switches: /U Output to Unix format (LineFeed Only) /M Output to Macintosh format (CR Only) /W:N Wrap long lines at N characters. /7 Strip High Bit (Old Wordstar Files) /S Include all Subdirectories /Q Quite Mode - No Messages on Screen

Example:
CLEANTXT C:\MOJO\*.HTM /S

If only one filename is given then the input and output files are the same. You can also use dos pipes with CleanText. The date and time of the output file is set to match the input file.

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home