mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 10:15:36 +00:00
15 lines
340 B
Bash
Executable file
15 lines
340 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
|
|
for suffix in out err; do
|
|
expfile=./reg-test/expected/$arg.$suffix
|
|
outfile=./output-reg-test/$arg.$suffix
|
|
diff -a -I '^mlr' -I '^Miller:' -I '^cat' $expfile $outfile
|
|
done
|
|
fi
|
|
done
|