CRLF converts texts produced in Linux (or Mac) so that they are correctly
displayed in Windows.
If you import text files from Linux (or Mac) into Windows, they will not be displayed correctly, as you can see from the screenshot above
which shows the display in Notepad. This is because in Linux (or Mac) a single end-of-line character is used, but Windows requires
two characters at the end of each line: the carriage return character (CR) and the line feed character (LF).
You can correct this manually for each individual file using Notepad. Just position the cursor at the point where an end of line should
occur, and type ENTER. When you have done this for every line, re-save the file.
Of course, if your text files are very big, or you have a lot of them, converting them manually is an impossible task, so you need a little
program like CRLF to come to the rescue and do it automatically.
Make sure you have the text files for conversion batched in a folder. Copy the program CRLF to the same folder and execute it:
If the extensions or suffixes to the text files you want to change in the current folder are ".txt", then all well and good: just go ahead and click
on the big "Go" button. You will hear a "ding" when all the ".txt" files in the folder have been converted.
However, not all text files have the extension ".txt". You might need to convert a bunch of Rebol scripts for example, in which case the
extensions would be simply ".r". So to convert the ".r" type texts in the current folder, change the filter to "*.r" in the box at the top of the
CRLF window and then click on "Go":
In the example above, the 2 Rebol texts (with the ".r" extension) will be converted, but the texts with the extension ".txt" will be left alone.
Be careful not ever to enter filters into the box provided that
will cause non-text files to be converted!
For example, if you enter a "*.jpg" filter and click on the "Go"
button, it will convert (i.e. CORRUPT) all the images of this
type in the current folder.
That said, you DO have a primitive kind of protection built into the program. It will always refuse to convert files with the
extension .exe, .dll or .ocx, but that is all. And if you attempt it, this is the result you will get:
Click on the little howsoft icon near the bottom of the window, and then click on other zones as appropriate:
To return to the main display, click on any vacant space on the Help/About flap.