[bug-diffutils] bug#37558: [PATCH] cmp: fix address spacing with -l

2019-09-29 Thread dmo2...@gmail.com
Looks like there's a bit of a spacing goof with 'cmp -l': $ cat /tmp/j1 Jackdaws love my big sphinx of quartz! $ cat /tmp/j2 jackdaws love my big sphinx of quartz. $ ./cmp -l j1 j2 1 112 152 38 41 56 I think this fixes it. diff --git a/src/cmp.c b/src/cmp.c index 16e8869..3124b98 100644 --- a

[bug-diffutils] bug#37844: [PATCH] cmp -x/--verbose-hex

2019-10-20 Thread dmo2...@gmail.com
This adds a `-x`/`--verbose-hex` option to `cmp`, similar to what FreeBSD has in its own `cmp`. From `doc/diffutils.texi`: '-x' '--verbose-hex' Like '--verbose', but with hexadecimal numbers, and byte numbers starting at 0. A few assorted points: * `cmp -x` always displays a minimum of