

            radix (1) --- change radix of numbers                    08/07/81


            _U_s_a_g_e

                 radix [ -i <input radix> ] [ -o <output radix> ] { <number> }


            _D_e_s_c_r_i_p_t_i_o_n

                 'Radix'  is  a  simple  tool  that converts numbers from one
                 radix representation to another.  The "-i" option  specifies
                 the default input radix.  (This radix can be overridden with
                 the  "<radix>r<number>"  notation accepted by 'gctol').  The
                 "-o" option specifies the output radix.  If either is  omit-
                 ted, 10 is assumed.

                 The numbers specified as arguments are converted to the out-
                 put  radix  and  printed  on standard output, one number per
                 line.  If no <number> arguments are specified, 'radix' reads
                 numbers from standard input (one per line),  converts  them,
                 and writes them on standard output (one per line).

                 If  an  illegal character is encountered in a number, it and
                 all following characters in the number are ignored.


            _E_x_a_m_p_l_e_s

                 radix 8r177
                 radix -i10 -o2 39 12 5
                 radix -i 16


            _M_e_s_s_a_g_e_s

                 "Usage:  radix ..."  for invalid argument syntax.


            _S_e_e _A_l_s_o

                 gctol (2)



















            radix (1)                     - 1 -                     radix (1)


