| Crates.io | bdiff |
| lib.rs | bdiff |
| version | 0.1.0 |
| created_at | 2024-06-26 19:09:58.778805+00 |
| updated_at | 2024-06-26 19:09:58.778805+00 |
| description | Binary file diff |
| homepage | |
| repository | https://gitlab.com/lukor/bdiff |
| max_upload_size | |
| id | 1284786 |
| size | 70,637 |
BDiff generates diffs just like the standard GNU diff tool, but instead of
operating per-line, it does so on a per-byte basis, outputting diffs as hex
dumps (formatted similarly to what xxd outputs).
bdiff [OPTIONS] MINUS_FILE PLUS_FILE
Positional arguments:
MINUS_FILE: First file to be comparedPLUS_FILE: Second file to be compared| Argument | Description |
|---|---|
| -h,--help | Show help message and exit |
| -w,--width WIDTH | Set the number of bytes to display per line (default 16) |
| -B,--before BEFORE | Full lines to show before a difference (default 3) |
| -A,--after AFTER | Full lines to show after a difference (default 3) |
| -l,--align-left | Align lines with left file (default) |
| -r,--align-right | Align lines with right file |
| -v,--version | Show version and exit |