Skip to content
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

The -p option does not work for forward or reverse #12

Open
bugfix4u opened this issue Sep 6, 2023 · 0 comments
Open

The -p option does not work for forward or reverse #12

bugfix4u opened this issue Sep 6, 2023 · 0 comments

Comments

@bugfix4u
Copy link

bugfix4u commented Sep 6, 2023

The first issue is with line number 181 in the xxd.go

_, _ = src[2], dst[0]

Not sure what the purpose of this code is. Maybe it should have been:

_, _ = src[:2], dst[0]

Not sure why it is needed at all.

The other issue is the output of the reverse option. The text that comes from the -r -p options is garbled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant