From LQWiki
Unix2dos and its partner, Dos2unix are two text processor applications which convert line endings of plaintext files.
Unix2dos converts standard UNIX line endings (\n) to DOS/Mac line endings (\n\r). Dos2unix is the reverse of this operation.
These utilities are fairly standard in most GNU-based distributions, but they do not appear to have their own home page.

This page is available under a