uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

bconv(USP)

Name

bconv : Converts a text into a binary data.

Synopsis

Usage   : bconv <file>

Version : Tue Jan  9 09:02:34 JST 2024

Edition : 1

Description

Converts a hexadecimal digits in a file into binary data.

Example 1

$ echo 55 53 50 2D 4C 41 42 0A | bconv

USP-LAB

Example 2

A hexadecimal is valid in the either of the uppercase or lowercase.

$ echo 55 53 50 2d 4c 41 42 0a | bconv

USP-LAB

Example 3

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.