|
|
1.1 root 1:
2:
3: conv Command conv
4:
5:
6:
7:
8: Numeric base converter
9:
10: ccoonnvv [_n_u_m_b_e_r]
11:
12: conv converts number to hexadecimal, decimal, octal, binary, and
13: ASCII characters, and prints the results on the standard output.
14: If no number is given, conv reads one number per line from the
15: standard input until you type the end-of-file character <ccttrrll-DD>.
16:
17: number may be in hexadecimal, decimal, octal, binary, or charac-
18: ter format, as shown below. Each example represents the decimal
19: number 97.
20:
21:
22: _B_a_s_e _R_e_p_r_e_s_e_n_t_a_t_i_o_n
23:
24: hexadecimal00xx6611
25: hexadecimal#6611
26: decimal 9977
27: octal 00114411
28: binary $11110000000011
29: character `aa'
30:
31:
32: conv represents an ASCII control character in its output by
33: preceding the character by a carat `^'. For example, it prints
34: <ctrl-X> as `^X'. conv prints ``bad digit'' if anything is wrong
35: with the input.
36:
37: ***** See Also *****
38:
39: bc, commands, conv, dd, od, units
40:
41: ***** Notes *****
42:
43: conv represents the input number internally as a long integer.
44: If number does not fit in a long, conv silently truncates it.
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.