|
1 |
| -# ASCII TABLE |
2 |
| - |
3 |
| -## Overview |
4 |
| -AsciiTable shows octal, hexadecimal, and decimal representations of ascii characters. It supports all 7-bit ASCII characters. |
5 |
| - |
6 |
| - |
7 |
| -## Features |
8 |
| -- Converts ASCII characters to octal, hexadecimal, and decimal values. |
9 |
| -- Simple and lightweight command-line interface. |
10 |
| -- Supports the full range of 256 ASCII characters. |
11 |
| - |
12 |
| -## Installation |
13 |
| -### Release |
14 |
| -Visit [Releases](https://github.com/ManojTGN/ascii-table/releases) And Download The latest `ascii` Binary from it. then add it to the environment variable. |
15 |
| - |
16 |
| -### Build |
17 |
| -```bash |
18 |
| -git clone https://github.com/ManojTGN/ascii-table.git |
19 |
| -cd ascii-table |
20 |
| -make |
21 |
| -``` |
22 |
| - |
23 |
| -## Usage |
24 |
| -```bash |
25 |
| - |
26 |
| -ascii [characters...] [..options] |
27 |
| - |
28 |
| -``` |
29 |
| - |
30 |
| -#### Available Options: |
31 |
| - `--all` shows all available ascii codes |
32 |
| - `--digits` shows all digits ascii codes |
33 |
| - `--alphas` shows all alphabets ascii codes |
34 |
| - `--specials`shows all special char ascii codes |
35 |
| - `--controls`shows all control ascii codes (non printables) |
36 |
| - |
37 |
| - `--octa` shows only octa in output table |
38 |
| - `--dec` shows only dec in output table |
39 |
| - `--hex` shows only hex in output table |
40 |
| - |
41 |
| - `--asc` shows output table in ascending order |
42 |
| - `--desc` shows output table in desending order |
43 |
| - |
44 |
| - `--vt100` register ansi vt100 escape sequence color to the terminal & terminate |
45 |
| - |
46 |
| -#### Input Types: |
47 |
| - `0000b` represents 0 in binary (add b at last) |
48 |
| - `0d` represents 0 in decimal (add d at last) |
49 |
| - `0o` represents 0 in octal (add o at last) |
50 |
| - `0x00` represents 0 in hexa (add 0x at first) |
51 |
| - |
52 |
| -#### Examples |
53 |
| -```bash |
54 |
| -ascii abcd |
55 |
| -ascii "manojtgn" |
56 |
| -ascii "helloworld" |
57 |
| - |
58 |
| -ascii "make it ascending" --asc |
59 |
| -ascii "make it descending" --desc |
60 |
| - |
61 |
| -ascii 0x78 |
62 |
| -ascii 0x78 69d |
63 |
| -ascii 0x78 15c 69d 01001001b |
64 |
| - |
65 |
| -ascii --alphas |
66 |
| -ascii --digits --specials |
67 |
| -ascii --digits --alphas --specials --controls |
68 |
| -ascii --all |
69 |
| - |
70 |
| -ascii "show octal & decimal" --oct --dec |
71 |
| -ascii "show only hex" --hex |
72 |
| - |
73 |
| -ascii --vt100 |
74 |
| - |
75 |
| -ascii |
76 |
| -``` |
| 1 | +# ASCII TABLE |
| 2 | + |
| 3 | +## Overview |
| 4 | +AsciiTable shows octal, hexadecimal, and decimal representations of ascii characters. It supports all 7-bit ASCII characters. |
| 5 | + |
| 6 | + |
| 7 | +## Features |
| 8 | +- Converts ASCII characters to octal, hexadecimal, and decimal values. |
| 9 | +- Simple and lightweight command-line interface. |
| 10 | +- Supports the full range of 256 ASCII characters. |
| 11 | + |
| 12 | +## Installation |
| 13 | +### Release |
| 14 | +Visit [Releases](https://github.com/ManojTGN/ascii-table/releases) And Download The latest `ascii` Binary from it. then add it to the environment variable. |
| 15 | + |
| 16 | +### Build |
| 17 | +```bash |
| 18 | +git clone https://github.com/ManojTGN/ascii-table.git |
| 19 | +cd ascii-table |
| 20 | +make |
| 21 | +``` |
| 22 | + |
| 23 | +## Usage |
| 24 | +```bash |
| 25 | + |
| 26 | +ascii [characters...] [..options] |
| 27 | + |
| 28 | +``` |
| 29 | + |
| 30 | +#### Available Options: |
| 31 | + `--all` shows all available ascii codes |
| 32 | + `--digits` shows all digits ascii codes |
| 33 | + `--alphas` shows all alphabets ascii codes |
| 34 | + `--specials`shows all special char ascii codes |
| 35 | + `--controls`shows all control ascii codes (non printables) |
| 36 | + |
| 37 | + `--octa` shows only octa in output table |
| 38 | + `--dec` shows only dec in output table |
| 39 | + `--hex` shows only hex in output table |
| 40 | + |
| 41 | + `--asc` shows output table in ascending order |
| 42 | + `--desc` shows output table in desending order |
| 43 | + |
| 44 | + `--vt100` register ansi vt100 escape sequence color to the terminal & terminate |
| 45 | + |
| 46 | +#### Input Types: |
| 47 | + `0000b` represents 0 in binary (add b at last) |
| 48 | + `0d` represents 0 in decimal (add d at last) |
| 49 | + `0o` represents 0 in octal (add o at last) |
| 50 | + `0x00` represents 0 in hexa (add 0x at first) |
| 51 | + |
| 52 | +#### Examples |
| 53 | +```bash |
| 54 | +ascii abcd |
| 55 | +ascii "manojtgn" |
| 56 | +ascii "helloworld" |
| 57 | + |
| 58 | +ascii "make it ascending" --asc |
| 59 | +ascii "make it descending" --desc |
| 60 | + |
| 61 | +ascii 0x78 |
| 62 | +ascii 0x78 69d |
| 63 | +ascii 0x78 15c 69d 01001001b |
| 64 | + |
| 65 | +ascii --alphas |
| 66 | +ascii --digits --specials |
| 67 | +ascii --digits --alphas --specials --controls |
| 68 | +ascii --all |
| 69 | + |
| 70 | +ascii "show octal & decimal" --oct --dec |
| 71 | +ascii "show only hex" --hex |
| 72 | + |
| 73 | +ascii --vt100 |
| 74 | + |
| 75 | +ascii |
| 76 | +``` |
0 commit comments