Debian Codegraph @

debian/mans/bindechexascii.1

raw
1 .\"Text automatically generated by txt2man
2 .TH CONV "1" "May 2014" "BINDECHEXASCII" "convert ASCII, binary, decimal, hexadecimal and prints results on the in screen"
3 .SH NAME
4 \fBbindechexascii \fP- converts ASCII, binary, decimal, hexadecimal and prints results on the in screen
5 .SH SYNOPSIS
6 .nf
7 .fam C
8 \fBbindechexascii\fP [\fIoptions\fP] \fIarg1\fP \fIarg2\fP \fIarg3\fP
9 .fam T
10 .fi
11 .fam T
12 .fi
13 .SH DESCRIPTION
14 \fBbindechexascii\fP is a program that converts the argument from standard input to the numbering system or character set (ASCII) specified in the option and prints the result on the screen. That way you can perform the following conversion: binary to decimal, binary to hex, binary to ASCII, decimal to binary, decimal to hex, decimal to ASCII, hex to binary, hex to decimal, hex to ASCII, ASCII to binary, ASCII to decimal, ASCII to hex.
15 .SH OPTIONS
16
17 .TP
18 .B
19 \fB\-h\fP, \fB\-\-help\fP
20 Print this help
21 .TP
22 .B
23 \fB\-i\fP, \fB\-\-info\fP
24 Print information about program
25 .TP
26 .B
27 \fB\-\-b2d\fP
28 Binary to decimal
29 .TP
30 .B
31 \fB\-\-b2h\fP
32 Binary to hexadecimal
33 .TP
34 .B
35 \fB\-\-b2a\fP
36 Binary to ASCII
37 .TP
38 .B
39 \fB\-\-d2b\fP
40 Decimal to binary
41 .TP
42 .B
43 \fB\-\-d2h\fP
44 Decimal to hexadecimal
45 .TP
46 .B
47 \fB\-\-d2a\fP
48 Decimal to ASCII
49 .TP
50 .B
51 \fB\-\-h2b\fP
52 Hexadecimal to binary
53 .TP
54 .B
55 \fB\-\-h2d\fP
56 Hexadecimal to decimal
57 .TP
58 .B
59 \fB\-\-h2a\fP
60 Hexadecimal to ASCII
61 .TP
62 .B
63 \fB\-\-a2b\fP
64 ASCII to binary
65 .TP
66 .B
67 \fB\-\-a2d\fP
68 ASCII to decimal
69 .TP
70 .B
71 \fB\-\-a2h\fP
72 ASCII to hexadecimal
73 .SH EXAMPLES
74
75 To convert the number 1000111 from binary to decimal:
76 .PP
77 .nf
78 .fam C
79 bindechexascii \-\-b2d 1000111
80
81 .fam T
82 .fi
83 To convert the number 50 from decimal to binary:
84 .PP
85 .nf
86 .fam C
87 bindechexascii \-\-d2b 50
88
89 .fam T
90 .fi
91 To convert the number 3F from hexadecimal to binary:
92 .PP
93 .nf
94 .fam C
95 bindechexascii \-\-h2b 3F
96
97 .fam T
98 .fi
99 To convert the caractere 'a' from ASCII to binary:
100 .PP
101 .nf
102 .fam C
103 bindechexascii \-\-a2b a
104
105 .fam T
106 .fi
107 .SH AUTHOR
108 The \fBbindechexascii\fP was written by Leonid Plyushch <[email protected]>.
109 This manual page was written by Marcio de Souza Oliveira <[email protected]> for the Debian project (but may be used by others).