iftisval - tpcclib 0.7.5 © 2020 by Turku PET Centre

Check whether specified Interfile-type (IFT) key and value exist in
the header file, for example:
     CALIBRATED := Yes
Key and value are case-insensitive.
Program returns 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, --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:
     iftisval iea345ab.kbq calibrated yes
Example 2:
     iftisval -abs=0.02 header.dat halflife 2.05
 
See also: iftadd, iftdel, iftlist, iftmatch, iftvalc
 
Keywords: header, IFT, tool