# Binary DIFF 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). ## Usage ```sh bdiff [OPTIONS] MINUS_FILE PLUS_FILE ``` Positional arguments: - `MINUS_FILE`: First file to be compared - `PLUS_FILE`: Second file to be compared ### Options | 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 |