Open TheLocehiliosan opened 1 year ago
Thank you for reporting this. The documentation is just wrong. I don't think the squeezing feature was ever planned to work that way. But I now realize that hexdump
s squeezing feature might actually do just that?
FYI: @awidegreen @sharifhsn
But I now realize that
hexdump
s squeezing feature might actually do just that?
Yes, hexdump does work that way.
If hexdump
will squeeze on identical lines always, then the squeezing feature should be changed to match hexdump
. It's not difficult to make this change, I'll look at this sometime soon.
The help indicates:
It seems that lines are squeezed when they all are filled with the same single byte (for example, all 0x00 or all 0xFF). However, lines which are not filled with a single repeated byte can still be identical to previous lines. In these cases they do not appear to be squeezed.
I'll attach an example file, which contains rows filled with the two-byte word 0x1400 starting at position 00000020. If the standard two panels are displayed, I would expect this file to have data squeezed until position 00000fa0.
example.tar.gz