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

⌈⌋ branch:  version numbers get/write


Check-in [d56b82dd48]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:d56b82dd48d2de712c8a1b3a186c2a2a57463515
Date: 2014-02-08 03:57:55
User: mario
Comment:Add wordpress and document 'any' type.
Tags And Properties
  • branch=trunk inherited from [febbd3fd5d]
  • sym-trunk inherited from [febbd3fd5d]
Context
2014-02-08
23:24
[789c1a3df8] Moved data/regex into cfg{} (user: mario, tags: trunk)
03:57
[d56b82dd48] Add wordpress and document 'any' type. (user: mario, tags: trunk)
03:57
[a26eca426c] Make quotes optional for 'ini', add '.list' extension, move is_valid_ver into rx::, allow optional dashes on --last command, more comments. (user: mario, tags: trunk)
Changes

Changes to 1.1.

154
155
156
157
158
159
160

161
162
163
164
165
166
167



168
169
docblock	Documentation	* @version 1.0.0
const	Constant declarations	const VERSION = '1.0.0';
var	Scripting language syntax	$Xyz_version = "1.0.0";
define	PHP constant defines	define("XYZ_VERSION", '1.0.0');
ini	Configuration files	version = "1.0.0"
python	Module numbers	__version__ = "1.0.0"
composer	JSON	{ "version": "1.0.0",

xmltag	Single XML tag	<version>1.0.0</version>
_raw_	\fBmatch anything\fR	T{
This matches virtually anywhere, as it just applies the common
version number syntax regex, but does not take any syntax context into account.
T}
.TE




.SH "SEE ALSO"
.BR "http://semver.org/#" (2.0.0) 







>







>
>
>


154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
docblock	Documentation	* @version 1.0.0
const	Constant declarations	const VERSION = '1.0.0';
var	Scripting language syntax	$Xyz_version = "1.0.0";
define	PHP constant defines	define("XYZ_VERSION", '1.0.0');
ini	Configuration files	version = "1.0.0"
python	Module numbers	__version__ = "1.0.0"
composer	JSON	{ "version": "1.0.0",
wordpress	Wordpress plugin meta	Version: 1.0.0
xmltag	Single XML tag	<version>1.0.0</version>
_raw_	\fBmatch anything\fR	T{
This matches virtually anywhere, as it just applies the common
version number syntax regex, but does not take any syntax context into account.
T}
.TE

.PP
.RI "The moniker " any " includes all known regex formats but " _raw_ ", of course."

.SH "SEE ALSO"
.BR "http://semver.org/#" (2.0.0)