Prescale table comparison tool
Optional requirement for colored output: colordiff
(on Debian/Ubuntu-based systems, install via sudo apt install colordiff
)
Invoke a simple comparison of two existing prescale tables (in xlsx format):
bash run-ps-diff.sh PStable_left.xslx PStable_right.xslx
The xslx files can be given as local paths or as URLs (if the URLs are downloadable via
wget
).
- All valid
diff
options are allowed (executeman diff
for a list of them) as long as they are passed without any dash prefixes (i.e., do not prepend "-" or "--"). --by-line
: perform a line-by-line comparison (default)--by-name
: performs a name-by-name (i.e, seed-by-seed) comparison--no-color
: do not colorize the terminal output
For further information on usage, run
bash run-ps-diff.sh --help
Line-by-line comparison in two columns:
bash run-ps-diff.sh PStable_left.xslx PStable_right.xslx side-by-side
Name-by-name comparison in two columns:
bash run-ps-diff.sh PStable_left.xslx PStable_right.xslx side-by-side --by-name
Comparison in two columns, suppressing common lines:
bash run-ps-diff.sh PStable_left.xslx PStable_right.xslx side-by-side suppress-common-lines