OT-ish - converting hex output to binary on a Unix platform

From: der Mouse <mouse_at_Rodents.Montreal.QC.CA>
Date: Fri Jul 30 10:25:59 2004

> Silly question, but maybe someone here's found a nice way of doing
> this using standard Unix tools...

> I have a few files in hex format (actually ROM dumps) and want to
> convert them to binary. Sort of the reverse of the hexdump utility.

I haven't found a way to do this with standard tools. I'd use two
small tools I wrote long ago: one to convert hex to decimal, the other
to go from character codes to the characters themselves.

Both are up for anonymous ftp from ftp.rodents.montreal.qc.ca, the
base-converter in /mouse/hacks/cvtbase.c and the converter from codes
to characters in /mouse/local/src/charcode/ (the latter also includes a
converter to go the other way).

/~\ The ASCII der Mouse
\ / Ribbon Campaign
 X Against HTML mouse_at_rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Received on Fri Jul 30 2004 - 10:25:59 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:53 BST