I have kept one corrupt text file (which I cannot post here), and I ran this command on it:
grep --perl-regexp --text --byte-offset '\x00{3900}' my-corrupt-text-file
The file has 2 blocks of binary zeros which should not be there. Their offsets are random, but both blocks are exactly 3900 bytes long. I had expected some power of 2 like 1024.
I have kept one corrupt text file (which I cannot post here), and I ran this command on it:
grep --perl-regexp --text --byte-offset '\x00{3900}' my-corrupt- text-file
The file has 2 blocks of binary zeros which should not be there. Their offsets are random, but both blocks are exactly 3900 bytes long. I had expected some power of 2 like 1024.