File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / conv
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



conv                         Command                         conv




Numeric base converter

ccoonnvv [_n_u_m_b_e_r]

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 <ccttrrll-DD>.

number may be  in hexadecimal, decimal, octal, binary, or charac-
ter format, as  shown below.  Each example represents the decimal
number 97.


          _B_a_s_e      _R_e_p_r_e_s_e_n_t_a_t_i_o_n

          hexadecimal00xx6611
          hexadecimal#6611
          decimal   9977
          octal     00114411
          binary    $11110000000011
          character `aa'


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.



















COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.