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 [e13c0df42e]

Artifact e13c0df42e6fee6834c5c588a90c4998183e0aaa:

Wiki page [version numbers get/write] by mario 2014-02-08 12:29:03.
D 2014-02-08T12:29:03.807
L version\snumbers\sget/write
P 0c2b795515999308565c484c145ccc1ad2fc4b30
U mario
W 1138
<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.

<h4>download</h4>

<a href=http://apt.include-once.org/>http://apt.include-once.org/</a>

  *  [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>

<a href=http://freecode.com/projects/version-numbers-readwrite>http://freecode.com/projects/version-numbers-readwrite</a>
Z 2be75ece7c1d32d13808817e562a037a