If I open a newline terminated file in geany extra blank line is displayed:

Screenshot_2021-01-11_19-50-14

This is incorrect according to the POSIX specification of a file, in which all lines should be newline terminated. From looking at how geany presents the file it would appear that the file has 6 lines with the final line being empty, when it actually only has 5 newline terminated lines.

wc correctly reports only 5 lines in this file:

Screenshot_2021-01-11_19-58-30

And vim correctly only displays 5 lines:

Screenshot_2021-01-11_19-59-12


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.