miller/go/u/case-diff
2020-12-31 11:35:43 -05:00

13 lines
287 B
Bash
Executable file

#!/bin/bash
# See ./reg-test/run
diff_context_flag=""
for arg; do
if [ "$arg" = "-C5" ]; then
diff_context_flag="$arg"
else
expfile=./reg-test/expected/$arg.out
outfile=./output-reg-test/$arg.out
diff -a -I '^mlr' -I '^Miller:' -I '^cat' $expfile $outfile
fi
done