On Mon, 9 Sep 2013 15:50:17 +0530
Dan Egli <[email protected]> wrote:

> Anyone know of a quick and easy way to convert decimal to hexidecimal on
> the command line?

printf will do it.

    $ printf "%x\n" 16
    10

-=Fozz

-- 
Doran L. Barton <[email protected]> - Linux, Perl, Web, good fun, and more!
 "Use repeatedly for severe damage."
    -- Seen on a shampoo bottle

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to