iftmatch - tpcclib 0.7.8 © 2022 by Turku PET Centre
Verify that the contents in two IFT files is similar.
By default, all contents (keys and values) are tested, but by specifying
a key, only values of that that key are tested. If the second IFT file
has a different key name, then it can be specified as the second key name.
IFT files are text files with key and (optional) value at each line,
calibrated := yes
calibration_coefficient := 6.78901E-005
Key and value strings are case-insensitive. Lines may be in any order,
except that if more than one key instances are found, the order of the
values must be the same.
Program returns 0, if match is found, 1-9 in case of an error, or
10, if matching key or value is not found.
Usage: iftmatch [options] filename1 filename2 [key [key2]]
-lt | -gt | -abs=<limit>
Values in file 1 and 2 are tested numerically (not as text), to be less
(-lt) or greater (-gt) in file 1 than in file 2, or the absolute
difference is not allowed to exceed the specified limit (-abs=<limit>)
Display usage information on standard output and exit.
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.
Suppress displaying normal results on standard output.
Suppress displaying anything except errors.
iftmatch data1.ift data2.ift
iftmatch iea345header.txt validheader.txt calibrated
iftmatch -abs=0.02 iea345hdr.txt validhdr.txt halflife
iftmatch -abs=0.02 iea345hdr.txt validhdr.txt half-life halflife
See also: iftisval, iftlist, csv2ift
Keywords: IFT, tool, software testing