iftmatch 0.2.0 © 2013 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, for example: 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]] Options: -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>) --help Print this message and exit --version or --build Print software build information and exit --silent Program works silently, printing only warnings and error messages --verbose Program prints more information about what it is doing. Example 2: iftmatch data1.ift data2.ift Example 2: iftmatch iea345header.txt validheader.txt calibrated Example 3: iftmatch -abs=0.02 iea345hdr.txt validhdr.txt halflife Example 4: iftmatch -abs=0.02 iea345hdr.txt validhdr.txt half-life halflife See also: iftisval, reslist, dftlist, lmhdr, resmatch, iftlist Keywords: IFT, tool, software testing This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under GNU General Public License.
Last updated 2014-10-22 12:53:49