convert Mac or Win file into Unix

The end line characters of text files are not the same whether you are using a Mac, a PC Windows or a Unix/Linux station.

Mac : \r

Windows : \r\n

Unix : \n

To convert the file you can use search replace word

Example :

To convert a Windows file into Unix :

Search and replace: \r\n

with: \n