New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ability to "tail" the file (and +/- seek) #14
Comments
hi @coolaj86, I believe its possible to perform both tail
seek (dd)
|
You're absolutely right. But you lose the ability to see the byte range in column one. If you need it for orientation, it would be better, hx would have this feature. Isn't it? |
This issue has been marked stale due to no recent activity. |
This issue was closed due to no activity for an extended period. |
Is your feature request related to a problem? Please describe.
Usually when I'm using a hex editor it's because I'm having trouble parsing or packing something. I often need a quick look at the first
n
bytes of the file as well as the lastn
bytes of the file to see if something is wrong with the header or an offset.If it's a large file, I might try to bisect by picking a random offset and see the general area where the issue reference and test data have become out of sync.
Describe the solution you'd like
I'd love to have a
-t <n>
option for tailing the lastn
bytes of a file.I'd also love a
--seek <+/-n>
option to complement-l
.Describe alternatives you've considered
For positive or forward seeking I suppose I could use something like
dd if=./my/file.bin iseek=100 bs=1 count=2 | hx
.Additional context
N/A
The text was updated successfully, but these errors were encountered: