Again, how do you check this? Some UNIX editors (including
vi/vim) automatically append a newline to the last line, so this might be the reason why it's not showing. Example:
Code:
$ printf "Test" > test_noeol.txt
$ printf "Test\n" > test_eol.txt
$ printf "Test\n\n" > test_dbleol.txt
$ file test_*.txt
test_noeol.txt: ASCII text, with no line terminators
test_eol.txt: ASCII text
test_dbleol.txt: ASCII text
$ cat test_noeol.txt
Test$ cat test_eol.txt
Test
$ cat test_dbleol.txt
Test
$