|
|
In UNIX/Linux and MS-DOS/Windows, there are non-printing ASCII characters at the end of each line, that tell a text display program that the following text should be displayed on a new line. UNIX uses the Linefeed character to denote the end of a line. MS-DOS/Windows uses the Carriage Return followed by the Linefeed character to denote a new line.
The U2WIN program will convert UNIX/Linux ASCII text files to MS-DOS/Windows-formatted text files. This software is free and can be freely distributed.
DOWNLOAD:
- U2WIN.exe (this executable will run on any computer with MS Windows 2000/NT/Me/XP/Vista)
The usage format is: U2WIN2.exe name-of-the-file-to-be-converted. The length of the file name is limited to 120 characters. The converted new file will carry the old file name (name-of-the-file-to-be-converted), while the old file will be assigned the new name name-of-the-file-to-be-converted.back
|
|
If you need to convert a MS-DOS/Windows ASCII file (say my-dos-text-file) to a UNIX/Linux ASCII file (say my-unix-text-file), you can emply the following command in the Linux/UNIX shell:
tr -d "\015" < my-dos-text-file > my-unix-text-file