ordinary-hacker/zbiff
A tiny Zig-powered binary and text diff tool.
zbiff is a tiny Zig-powered binary and text diff tool. It can compare files byte-by-byte or line-by-line and quickly spot differences. Perfect for text configs, binaries, or even executables.
Make sure you have Zig installed.
Clone the repository and build it:
git clone https://github.com/ordinary-hacker/zbiff.git
cd zbiff
zig build
zig-out/bin/zbiff
../zbiff <file1> <file2> [OPTIONS]
--stop-at-first
Stop at the first difference instead of scanning the whole file-h, --help
Show help messageSome automated tests are included in tests/
. You can run them with:
chmod +x tests/run_tests.sh
tests/run_tests.sh