Artifact
5fff99697f8c755ee6bd4454adb4a51ccffc1a99:
Wiki page
[version numbers get/write] by
mario
2014-02-07 19:55:16.
D 2014-02-07T19:55:16.986
L version\snumbers\sget/write
U mario
W 774
<h1>version</h1>
This is a commandline tool to *update version numbers* across source code files.
It understands multiple syntax contexts to constrain write operations. And the command arguments can be mixed naturally.
<h4>documentations</h4>
Just running the script displays a simple help (same as atop the code).
But there is also a [manpage|manpage version(1)].
<h4>why?</h4>
It's useful for preparing manual packaging processes, keeping version numbers in sync from source code to documentation and build scripts.
I've been using a dozen variants of this on multiple projects, but each patched to a specific language or too generic. This is a consolidation.
Surely there must be other tools like that, but they're obviously not easy to google.
Z f6a2fe4ab7e8ac7d05fa6fdb64b54fce