zero length file
one line no nl
1
one line with nl
1
second line no nl
1
2
second line with nl
1
2
