I want to convert binary data to hexadecimal, just that, no fancy formatting and all. hexdump seems too clever, and it \"overformats\" for me. I want to take x
hexdump
Watch out!
hexdump and xxd give the results in a different endianness!
xxd
$ echo -n $'\x12\x34' | xxd -p 1234 $ echo -n $'\x12\x34' | hexdump -e '"%x"' 3412
Simply explained. Big-endian vs. little-endian :D