From 765e342724f7ac5a01427d1ef1ada0a3565f745c Mon Sep 17 00:00:00 2001 From: Mark Probst Date: Mon, 1 Jan 2018 22:14:37 -0800 Subject: [PATCH] Add diff stats to compare-all.sh --- test/compare-all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/compare-all.sh b/test/compare-all.sh index 354e7078..21b70956 100755 --- a/test/compare-all.sh +++ b/test/compare-all.sh @@ -20,8 +20,9 @@ for fn in `cd "$DIR1" ; find . -type f` ; do set +e diff -u "$f1" "$f2" >"$of" set -e + stat=`diffstat -s "$of"` lines=`cat "$of" | wc -l` - echo "$lines $fn" + echo "$lines $stat $fn" else echo "missing $fn" fi