(Video materials in preparation)
bconv : Converts a text into a binary data.
Usage : bconv <file>
Version : Tue Jan 9 09:02:34 JST 2024
Edition : 1
Converts a hexadecimal digits in a file into binary data.
$ echo 55 53 50 2D 4C 41 42 0A | bconv
USP-LAB
A hexadecimal is valid in the either of the uppercase or lowercase.
$ echo 55 53 50 2d 4c 41 42 0a | bconv
USP-LAB
Any other characters than two-digit hexadecimal is ignored.
$ cat file
73 61 6D 70 6C 65 31 0A : Symbols and general Unicode are ignored.
0 123 4 567 8 901 a bcd / The strings in a digit and three digits are also ignored.
GH IJ KL MN OP QR ST UV - A string including an alphabet after G is also ignored.
As any text is not processed as a comment,
even in the halfway ot a sentence 4C 69 6B
65 20 74 68 69 73 2E the conversion continues.
$ bconv file
sample1
Like this.