Monday, September 16, 2019

Converting linux unix command line line ending in files

Windows use: \r\n
Linux / Unix use: \n

You can use dos2unix command line to convert line ending in files

https://stackoverflow.com/questions/3891076/how-to-convert-windows-end-of-line-in-unix-end-of-line-cr-lf-to-lf

No comments:

Post a Comment