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

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

bedit 

Name

bedit : Binary Editor

Syntax

Usage   : bedit [-vlcn] [n] <file>

Version : Thu Oct 21 17:36:23 JST 2021

Edition : 1

Description

bedit dumps the specified file in hexadecimal code, then after

you have edited it in vi, it converts it back to text.

Example 1

$ cat data

12345

$ bedit data

31 32 33 34 35 0A   <-- Hex data. This is edited in vi.

       

30 32 33 34 35 36 0A  <-- If you edit and then ":wq!"

$ cat data

023456

Note

bedit is a shell script.

It dumps the specified file to hexadecimal using the xdump command,

then after you've edited it in vi, it uses the bconv command to

revert it to text.

Options [-vlcn] [n] to the bedit command are passed as-is to the

xdump command.