2 unstable releases

0.3.0 Aug 4, 2022
0.2.32 Dec 18, 2021
0.2.31 Nov 28, 2021
0.2.29 May 16, 2021
0.1.1 Oct 28, 2020

#130 in Command line utilities

Download history 104/week @ 2022-04-28 68/week @ 2022-05-05 160/week @ 2022-05-12 45/week @ 2022-05-19 122/week @ 2022-05-26 138/week @ 2022-06-02 4/week @ 2022-06-09 2/week @ 2022-06-16 5/week @ 2022-06-23 37/week @ 2022-06-30 37/week @ 2022-07-07 12/week @ 2022-07-14 68/week @ 2022-07-21 34/week @ 2022-07-28 61/week @ 2022-08-04

208 downloads per month

GPL-3.0 license

320KB
7.5K SLoC

Sbyte

An in-console byte editor. Work in progress, but fairly stable for basic work.
Crates.io Crates.io GitHub

About

The environment was designed to feel and work as much like VIM as is reasonable for a byte editor. (hjkl directional controls, numerical register, a command line with its own pseudo-language as well as modes [visual, insert, append, replace])

Installation & Usage

From crates.io

cargo install sbyte
sbyte <filename>

From source:

cargo install --git git://burnsomni.net/sbyte
sbyte <filename>

See sbyterc for basic controls.

Hex, Binary & Decimal Views

Sbyte may be a hex editor, but it's also a bin editor and dec editor. Switch between them on-the-fly

Regex modifications

Regex is supported in searches, however some modifications have been made to make it more useful in the context of all bytes rather than just the human-readable ones.

Byte Wildcarding

Use a . to indicate a wildcard within a byte.

Examples

This will find all bytes from \x90 to \x9F:

find \x9.

This can also be done in binary:

find \b1001....

and doesn't need to be sequential

find \b100100.0

will match \x90 & \x92

Dependencies

~1–1.6MB
~43K SLoC