-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
reverse mode doesn't skip whitespace #15
Comments
Thanks for reporting! I updated the code and everything looks good here now. Please confirm that it now works as expected. |
Indeed, my script now works as expected. Thanks for fixing this so quickly! |
Thanks for testing! |
philiptaron
added a commit
to philiptaron/nixpkgs
that referenced
this issue
Oct 23, 2024
Diff: xyproto/tinyxxd@v1.3.6...v1.3.7 A compatibility error with vim's xxd was reported and fixed: - xyproto/tinyxxd#15
13 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
With the xxd from vim:
With tinyxxd, the same command results in
That is, the reverse hexdump stops upon hitting the newline character.
I ran into this with a script of mine that uses xxd to convert a series of sha256 outputs to binary, as in
Of course I could insert a step in the pipe that deletes any whitespace, but that wasn't necessary with vim-xxd. So as tinyxxd claims to be a drop-in replacement, I think it's a bug.
The vim code does
and as tinyxxd has a separate function for the "reverse, postscript" case, I think its loop could simply just be changed to
The text was updated successfully, but these errors were encountered: