If you're comfortable in Vi, it's well-documented how to replace CRLF
with LF and global substitution
(https://stackoverflow.com/questions/5939142/replacing-carriage-return-m-with-enter
and similar). If you don't want to re-type, dos2unix will conver...