iftisval 1.1.2 © 2005-2013 by Turku PET Centre
Check whether specified Interfile-type key and value exist in a text file,
for example:
CALIBRATED := Yes
Key and value are case-insensitive.
Program returns code 0, if key, and optional value, are found,
code 10, if key is not found, and 11, if key was found but without
matching value.
Usage: iftisval [options] <filename> [key [value]]
Options:
-lt | -gt | -abs=<limit>
Values are tested numerically (not as text), to be less (-lt) or
greater (-gt) than the given value, or the absolute difference is not
allowed to exceed the specified limit (-abs=<limit>)
-h or --help
Print this message and exit
-v or --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 1:
iftisval iea345ab.kbq calibrated yes
Example 2:
iftisval -abs=0.02 header.dat halflife 2.05
See also:
iftmatch,
iftlist,
iftadd,
reslist,
resmatch,
dftmatch,
imgmatch
Keywords: header, 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.