unix2dos / dos2unix#
Convert line endings between LF and CRLF.
$ unix2dos file.txt
$ dos2unix file.txt
$ find . -type f -name '*.sh' -exec dos2unix {} +
Convert line endings between LF and CRLF.
$ unix2dos file.txt
$ dos2unix file.txt
$ find . -type f -name '*.sh' -exec dos2unix {} +