33 releases (1 stable)

1.0.0 Jun 1, 2022
0.4.2 May 5, 2022
0.4.1 Apr 6, 2022
0.3.13 Feb 20, 2022
0.3.1 Jun 9, 2021
Download history 58/week @ 2022-03-11 116/week @ 2022-03-18 31/week @ 2022-04-01 37/week @ 2022-04-08 4/week @ 2022-04-15 162/week @ 2022-04-29 188/week @ 2022-05-06 552/week @ 2022-05-13 99/week @ 2022-05-20 233/week @ 2022-05-27 238/week @ 2022-06-03 5/week @ 2022-06-10 12/week @ 2022-06-17

488 downloads per month

GPL-3.0 license

60KB
1K SLoC

edhex

A hex editor that works vaguely like ed

screenshot

Usage

edhex <filename>
echo '0,$p' |edhex -P <filename> |less -R

Differences from ed

  • Not every ed command is implemented
  • The prompt * is printed by default.
  • Uses byte numbers instead of line numbers.
  • There's a width setting W for printing out.
  • Byte numbers start from 0.
  • a, b, c, d, e, f can't be commands because they could be numbers.

Preferences

If you choose to save (P)references to $XDG_CONFIG_HOME or $HOME/.config/edhex/preferences, they will be automatically be loaded on startup.

Dependencies

~3–4.5MB
~97K SLoC