Command line tool to duplicate/modify version number strings across source code and distribution files according to syntax context.

⌈⌋ ⎇ branch:  version numbers get/write


Artifact [a4c90206e3]

Artifact a4c90206e3a1de6d3e10a059799ade6dde905f33:

Wiki page [version numbers get/write] by mario 2014-02-10 00:34:29.
D 2014-02-10T00:34:29.831
L version\snumbers\sget/write
P ca977dfbad117f791d774f8339c15fe08f818107
U mario
W 1256
<h1>version numbers get / write</h1>

This is a commandline tool to <b>update version numbers</b> across source code files.

    <code>version  -get  file.c  -bump  -write pkg/DEBIAN/control</code>

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's also a [manpage].

<h4>why?</h4>

It's useful for preparing a manual packaging process. It can keep version numbers in sync across source code to documentation and build scripts.

Earlier implementations of this were patched to a specific language or too generic. This consolidates the regex handling and command line interface.

There are probably other tools like that, but they're obviously not easy to google (those that are are also domain-specific and tied to particular languages).

<h4>download</h4>

See [http://apt.include-once.org/] for the download repository.

  *  [http://apt.include-once.org/version_3.2.2-0.deb]

  *  [http://apt.include-once.org/version_3.2.1-0.deb]

<h4>project updates</h4>

Updates are announced on [http://freecode.com/projects/version-numbers-readwrite]
Z df2510355210b5253336ffa8662a0b38