-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Add option to disable printing 0 bytes as ascii 0. #166
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following output
The right column present ASCII values of the hex column.
In the case of null bytes (value 0), they are printed as ascii 0 in the right column.
This is confusing to say the least. Consider for example the case of no color (it text after all. User will copy & paste it elsewhere):
As a comparison, here is xxd output, where they denote non-printable characters with a period instead:
I did not find any command line arguments to disable this.
I would like to request a mode of hexyl to print non-printable characters in a similar manner as xxd does it. Specifically I would like it to not insert printable ascii that does not belong in the ascii printout:
And possibly more.
The text was updated successfully, but these errors were encountered: