Skip to content

Instantly share code, notes, and snippets.

@brahimmachkouri
Last active August 26, 2022 08:33
Embed
What would you like to do?
Hexdump to string (oneliner version)
#!/bin/bash
xxd -ps -c 1 $1 | awk '{ print "0x" $0 }' ORS=',' | sed s/.$// && echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment