iftvalc - tpcclib 0.8.0 © 2023 by Turku PET Centre
Simple artithmetic calculations on values in Interfile-type (IFT) files.
Keys are case-insensitive. Only numerical values are accepted.
Usage: iftvalc [options] file1 key1 operation file2 key2 [outputfile]
Options:
-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.
The following characters are accepted as operators: +, -, x, and :.
Value(s) in file1 are modified using specified value in file2.
If IFT does not contain keys, or all values in file1 are to be processed,
then enter 'all' or 'none' as the key name.
Contents of file1, including changed and preserved ones, are saved in
outputfile, or if not given , then file1 is overwritten.
Example:
iftvalc par.ift p1 x const.ift factor newpar.ift
See also: iftlist, iftisval, iftedit, iftadd, iftdel, parformat, taccalc
Keywords: header, IFT, tool