So #BenEater went the lengthy and roundabout route of prompting an LLM to output a Python program for creating a hex listing in a particular format, rather than just reading the manual page for the hexdump tool that xe was already using and learning its -e option.
The -e option actually takes the very same format specifiers that the Python script ended up with, and there's an example in the EXAMPLES section of the hexdump manual that gets one most of the way there.
One can do things the easy way by reading the doco, or the hard way with "AI" and #VibeCoding.
https://youtube.com/watch?v=LSMQ3U1Thzw&t=1626s
hexdump -e '"%04_ax: " 16/1 "%02X " "\n"' a.out
#hexdump #AI #ComputerProgramming #SoftwareEngineering