TAIL flaky?

May 20, 2008
10,674
83
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

  • weights.txt
    3 KB · Views: 27
May 20, 2008
10,674
83
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

  • weights.txt
    5.8 KB · Views: 34
Jan 12, 2014
399
7
Switzerland, SO
You want it more worse? See here (with 120 chars wide):


tail-prob_1-2.PNG


tail-prob_2-2.PNG


PS: "Of course" HEAD has the same problem.
 

Attachments

  • weights120.txt
    1.5 KB · Views: 33
Last edited: