Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You may want to try xxd -r. https://linux.die.net/man/1/xxd

Of course, if you're just looking for a fun programming exercise, then don't let me stop you :)



Just checked, and on macOS at least, `xxd -r` doesn't properly parse `hex.Dump`.


Speaking of macOS, I like the Hex Fiend application to display/edit files in hexadecimal (though it cannot be used on the command line).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: