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

From: Dave <dfnr2_at_yahoo.com>
Date: Sat Jul 31 13:32:48 2004

Look as srecord ( http://srecord.sourceforge.net ).
It's a powerful command-line tool for converting and
filtering object files in a large number of formats.
It can easily convert between various hex formats and
binary. I think it's a must-have program.

Dave

--- Jules Richardson <julesrichardsonuk_at_yahoo.co.uk>
wrote:

>
> 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'm
> not aware of a standard (and probably on-topic!)
> Unix util to do this,
> but maybe someone knows if there is one, or a handy
> way of doing this
> using some of the standard text-processing utils
> that Unix has...
>
> (files are in the format of 16 pairs of uppercase
> hex digits per line,
> with a trailing space after every pair - even the
> last one on a line)
>
> I'm rapidly coming to the conclusion that I need to
> remember some C
> again - and I've only just finished emptying my
> brain of it after the
> last time I needed to code in it a couple of months
> ago :-)
>
> cheers
>
> Jules
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Sat Jul 31 2004 - 13:32:48 BST

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