Hex Editors

vim + xxd

# -b (binary) disables automatic NL conversions
vim -b <FILE>
# read buffer with xxd converting it to hex dump
:%!xxd
# edit hex codes, e.g:
:s/0a/0d0d0a/g
# revert back to binary form
:%!xxd -r
# save & profit !
:w

Page Metadata

Source: hex-editors.md Created: 2024-01-02T19:16:23+02:00 Changed: 2024-01-02T19:16:23+02:00