COHERENT manpages
This page displays the COHERENT manpage for conv [Numeric base converter].
List of available manpages
Index
conv -- Command Numeric base converter conv [number] conv converts number to hexadecimal, decimal, octal, binary, and ASCII characters, and prints the results on the standard output. If no number is given, conv reads one number per line from the standard input until you type the end-of-file character <ctrl-D>. number may be in hexadecimal, decimal, octal, binary, or character format, as shown below. Each example represents the decimal number 97. Base Representation hexadecimal0x61 hexadecimal#61 decimal 97 octal 0141 binary $1100001 character `a' conv represents an ASCII control character in its output by preceding the character by a carat `^'. For example, it prints <ctrl-X> as `^X'. conv prints ``bad digit'' if anything is wrong with the input. See Also bc, commands, conv, dd, od, units Notes conv represents the input number internally as a long integer. If number does not fit in a long, conv silently truncates it.