Contents ======== * About dos2unix * Compiling * History About dos2unix ============== Usage: dos2unix outfile Removes carriage return characters. CRLF becomes LF Usage: unix2dos outfile Adds carriage return characters. LF becomes CRLF Compiling ========= makebcc.bat Produces dos2unix.com and unix2dos.com History ======= Version 2 --------- Added support for compiling with gcc-ia16. Version 1 --------- This version of dos2unix is based on the code found in the link below [1]. I put this together because of annoyances in other utilities. For example, when run in dosbox-x, the FreeDOS version of dos2unix [2] gives the error shown below [3]. This utility has such a simple purpose that it doesn't need to be all that complicated. [1] From: csustan!koko!jb@lll-crg.llnl.gov (John Birchfield) Newsgroups: comp.binaries.ibm.pc Subject: v05i007: dos2unix, newline conversion pgm Date: 4 Oct 89 04:46:40 GMT Enclosed is dos2unix which contains the c programs dos2unix.com and unix2dos.com - All they do is translate \n to \r\n and vice cersa. [2] [3] dos2unix: Failed to change the permissions of temporary output file ./d2utmpa01872: No such file or directory dos2unix: dos2unix: programs converting foo.txt