addvers - tpcclib 0.8.0 © 2023 by Turku PET Centre

Add version number to the file name, if file name does not already include
version number. Version is given in format 'n.n.n' as the first command-line
argument either directly or inside a file with keyword 'version'.
Version is added to the file name in format '_n_n_n' before any extension.
Usage: addvers [Options] version file
 -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:
     addvers 2.13.4 patlak.exe
Example 2:
     patlak --version > patlak.txt
     iftren patlak.txt "tpcclib version" "version"
     addvers patlak.txt patlak.exe
See also: pdoc2htm, iftadd, iftren