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

From: Roger Merchberger <zmerch_at_30below.com>
Date: Fri Jul 30 09:31:19 2004

Rumor has it that Cameron Kaiser may have mentioned these words:
> > > 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,
>
> > awk(1) is your friend.
>
>I'd pick perl(1) myself ... this is standard on just about all modern Un*ces
>of any flavour.

My opinion - if you already know perl, then I'd agree, but if you'd have to
learn it anyway, skip it and learn python(1) _if it exists on the system_.
For me, the learning curve was about 50% shorter than learning perl, and
more recently is just as "standard" as perl, as a *lot* of system utils are
being written in it now.

Laterz,
Roger "Merch" Merchberger

--
Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
Recycling is good, right???  Randomization is better!!!
If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.
Received on Fri Jul 30 2004 - 09:31:19 BST

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