The Dos2unix package includes utilities dos2unix and unix2dos to convert plain
text files in DOS or Mac format to Unix format and vice versa.
In DOS/Windows text files a line break, also known as newline, is a combination
of two characters: a Carriage Return (CR) followed by a Line Feed (LF). In Unix
text files a line break is a single character: the Line Feed (LF). In Mac text
files, prior to Mac OS X, a line break was single Carriage Return (CR)
character. Nowadays Mac OS uses Unix style (LF) line breaks.
Besides line breaks Dos2unix can also convert the encoding of files. A few DOS
code pages can be converted to Unix Latin-1. And Windows Unicode (UTF-16) files
can be converted to Unix Unicode (UTF-8) files.
Follow Unix2Dos
Other Useful Business Software
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Unix2Dos!