typeset -i 16 n (( n=$1 )) print 0x${n#16?}