Skip to content

Instantly share code, notes, and snippets.

@sfaleron
Created September 24, 2015 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfaleron/9c89cb219b7e8af80825 to your computer and use it in GitHub Desktop.
Save sfaleron/9c89cb219b7e8af80825 to your computer and use it in GitHub Desktop.
Hexdump formatting inspired by old DOS DEBUG command
"%04_ax "
2/1 "%02x" " " 2/1 "%02x" " " 2/1 "%02x" " " 2/1 "%02x" "-" 2/1 "%02x" " " 2/1 "%02x" " " 2/1 "%02x" " " 2/1 "%02x"
" |"
16/ "%_p"
"|\n"
@sfaleron
Copy link
Author

Use with hexdump -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment