lf2crlf_test, a C++ code which calls lf2crlf(), which converts line feeds to carriage returns + linefeeds.
The information on this web page is distributed under the MIT license.
lf2crlf, a C++ code which replaces line feeds by carriage returns + line feeds.