I have a .TXT files with both CRLF and LF as line endings.
The file is generated in windows only,still it has both CRLF and LF line endings.( As per my understanding, files in windows have CRLF whereas Unix has LF not both- correct me if am wrong.)
Also I have more such files, how to automate this process of replacing LF with CRLF .
Could anyone help me with it?
Thanks in advance