Change DOS-style line endings to Unix-style. Replaces CRLF with CR.
# To change the line endings of a file:
dos2unix <filename>
# To create a copy with Unix-style line endings:
dos2unix -n <filename> <new_filename>
Change DOS-style line endings to Unix-style. Replaces CRLF with CR.
# To change the line endings of a file:
dos2unix <filename>
# To create a copy with Unix-style line endings:
dos2unix -n <filename> <new_filename>