2

I was just introduced to xxd today. See link. I am very familiar with the QNX hd and odcommands, both of which will take input and create a hex dump (or octal dump if you like). See hd and od.

What I am looking for is the xxd -r capability to go backwards from a hexdump to a binary file, but apparently QNX doesn't have that, or I'm not reading the description appropriately. Can someone point me in the right direction?

This is regarding QNX Neutrino 6.4.1 or newer.

2

I would try to compile xxd for QNX instead of trying to find an alternative: ftp://ftp.uni-erlangen.de/pub/utilities/etc/xxd-1.10.tar.gz

The source is small (less than 1000 lines) and it has defines for windows and amiga so I expect it's fairly portable.

  • Excellent! Thanks for the link to the source. That was easy. Though QNX choked on the makefile, a simple qcc xdd.c and I was in business. I feel silly for not thinking of this myself. – kmort Apr 17 '13 at 3:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.