sharkdp / hexyl

A command-line hex viewer
Apache License 2.0
8.92k stars 227 forks source link

binary diff #150

Closed h-2 closed 2 years ago

h-2 commented 2 years ago

Thanks a lot first of all for this really useful tool!

It would be really awesome to be able to view two files side by side with some kind of indicator (red background?) for when they differ! Do you think adding something like that would be possible?

sharkdp commented 2 years ago

Thank you for the feedback. It's certainly possible, but I'd rather like to keep hexyl focused on its core functionality. I'm sure there are binary diff programs out there already (?).

You should also be able to do something like

diff <(hexyl 1.bin) <(hexyl 2.bin)

with some diff flags, I guess.