parmatch - tpcclib 0.8.0 © 2023 by Turku PET Centre

Verify that the contents in two parameter files are similar.
This can be used for automating software and analysis tool testing.
By default exact match is required for numerical values, but this behaviour
can be changed with options -rel and -abs (below); if both are set, then
values are considered to match is either of the requirements is met.
Header contents cannot be tested with this tool.
Programs return code is 0, if files were matching, 10, if the files did
not match, and 1-9 in case of error.
 
Usage: parmatch [options] filename1 filename2
 
Options:
 -p=<Y|n>
     Parameter values are checked (y, default) or not checked (n).
 -sd=<y|N>
     Parameter SD values are checked (y) or not checked (n, default).
 -cl=<y|N>
     Parameter CL values are checked (y) or not checked (n, default).
 -tacnames=<y|N>
     TAC names are checked (y) or not checked (n, default).
 -parnames=<Y|n>
     Parameter names are checked (y, default) or not checked (n).
 -parunits=<y|N>
     Parameter units are checked (y) or not checked (n, default).
 -wss=<y|N>
     WSS values are checked (y) or not checked (n, default).
 -abs=<value>
     Absolute differences must not exceed the specified limit.
 -rel=<value>
     Relative differences must not exceed the specified percent limit.
 -par=<list>
     List of parameter numbers to be tested; all by default.
 -tac=<list>
     List of TAC numbers to be tested; all by default.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
Example 1:
     parmatch -tac=1-3 -par=1,4 results1.csv results2.csv
Example 2:
     parmatch -abs=0.02 -rel=5 -parnames=n results1.csv results2.csv
 
See also: parformat, paradd, pardiff, iftmatch, iftisval, tacmatch
 
Keywords: parameter, tool, software testing