I created a Perl script which gets some data and inserts it line by line to a text file. When I open that file with Notepad++, it appears to have an empty line separation between each two lines of text, for example:
AAVX Etracs Daily Short 1 Month S&P
ABCS Guggenheim Abc High Dividend Et
ABI Safety First Trust
However if I open the same file with the regular Windows notepad, it seems that there are no spaces, as follows:
AAVX Etracs Daily Short 1 Month S&P
ABCS Guggenheim Abc High Dividend Et
ABI Safety First Trust
The question is: Which one of notepads should I trust and why does it happen?


CRLFas two empty lines, whereas Windows Notepad only (correctly) shows this as one line. Or similar issues. How are you creating the data? – slhck Jan 26 at 17:51