Created
June 28, 2019 17:50
-
-
Save llagerlof/cc5d9844d0a1388df5494f431ec5f705 to your computer and use it in GitHub Desktop.
Count bytes in files grouping by byte number
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Thanks Stephen Kitt (https://unix.stackexchange.com/a/527524/273356) | |
od -t x1 -w1 -v -An mybinaryfile | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment