iftvalc - tpcclib 0.7.5 © 2020 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]
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.
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.
iftvalc par.ift p1 x const.ift factor newpar.ift
See also: iftlist, iftisval, iftedit, iftadd, iftdel, parformat, taccalc
Keywords: header, IFT, tool