Jeff Abrahamson on Wed, 9 Apr 2003 13:51:04 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] radix conversion


Anyone know a common utility that can convert radix?

    $ radix -b 8
    1000
    $ radix -h 31
    1F
    $

Yes, it's a very short perl program, but it's also a fundamental
enough task that I'd be interested in a solution that I can find on
machines I just happen to be on, without having to go find my custom
tool. I was hoping for a flag to od, but no.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: pgpxKnGTF2Mex.pgp
Description: PGP signature