INTCNV(1) General Commands INTCNV(1)
NAME
intcnv - convert integer into various forms
SYNOPSIS
intcnv [-b] integer
DESCRIPTION
The intcnv utility converts the specified octal (base-8), decimal
(base-10), or hexadecimal (base-16) integer into its binary, octal,
decimal, and hexadecimal forms by default. Then, intcnv writes those
results to the standard output.
The following option is available:
-b Causes integer to be taken in binary (base-2) form.
EXIT STATUS
The intcnv utility exits with one of the following values:
0 The conversion was successful.
1 An error was detected.
SEE ALSO
strtol(3)
AUTHOR
Jeffrey Allen Neitzel wrote this implementation of the
intcnv command and maintains it as intcnv(1).
LICENSE
See either the LICENSE file, which is distributed with intcnv, or
https://jan.etsh.nl/p/intcnv/src/LICENSE for full details.
intcnv-current April 29, 2019 INTCNV(1)