TAIL flaky?

May 20, 2008
10,623
81
Syracuse, NY, USA
Compare these.
1569858166885.png


Two notes:
1. I use Consolas 20. This only happens if my console (window and buffer) is 112 characters wide.
2. The newlines in the file are 0x0A (only). I made the file with something like this
Code:
2>NUL dumpel ... | grep ... > weights.txt
If I let dumpel.exe write the file (-f file option) I get 0x0D0A for newlines and TAIL seems OK with that.
 

Attachments

May 20, 2008
10,623
81
Syracuse, NY, USA
More ... it has nothing to do with newlines being 0x0A. That was coming from Gnu grep and is irrelevant. Attached is a new weights.txt with proper CRLF newlines. I still see this when my console is 112 chars wide.
1569862408992.png


It may be significant that the last three characters of each line are 0x090D0A; i.e., TabCRLF. That is apparently due to DUMPEL's using Tab as the output string separator. FWIW, I do not see that when I TYPE the file.
 

Attachments