A hex editor that works vaguely like ed
edhex <filename>
echo '0,$p' |edhex -P <filename> |less -R
- 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.
If you choose to save (P)references to $XDG_CONFIG_HOME or $HOME/.config/edhex/preferences, they will be automatically be loaded on startup.