zD Builder ze Bill: cut 'n paste by version
..
screenshot  | downloads ]

mini HOW-TO:
Introduction
zD Builder is a PHP CLI (command line) executable that parses data (from a file or standard input) for target token pairs and updates (or reverts) that pair token data by version. tokens are categorised by a tag name, author and version, which can be shortlisted by filters for application to the data stream.

in a nutshell, if you have a set of text/data which is common amoungst many files; you can then move that data into the zDB library, put a pair of tokens in its place and use zD Builder to cut 'n paste (update token data) for you...

zD Builder can be useful for a few things (that fit the bill), however its primary use will probably be for developers who need to constantly update modifications (which also apply to other main executables in the same enviroment or SDK).Using zD Builder can help modulise top level main code which never gets encapsulated into a library. An inherit pro (or con) of this is that it can also help manage forks or code branches.

Requirements
a PHP CLI enviroment installed, setup and a reason. There is a *nix shell script to help loading the main zD Builder executable (which may need some tweaking on custom PHP installs). There is _no_ batch file for winblowz - which is actually what my last copy did, hence no batch file *KaBlaAMm* :p

Install zD Builder
Unpack and run! oh, just make sure the tag 'n bagged modifications that you want to apply are actually in the loaded library first. There is a template.inc and test.inc tag library file and configuration file included to check out after unpacking and before running.

Example Usage
-U -A -f php://stdin
Upgrade All tags from standard input
$ cat /path/to/file_with_tokens.txt | zD_builder.sh -UA > /path/to/new/file_with_tokens.txt

-U -A -F folder_name
Upgrade All tags recursively in directory
$ zD_builder.sh -UAF /path/to/token/files/

-U -A -f file_name
Upgrade All tags in file
$ zD_builder.sh -UA /path/to/files_with_tokens.txt

-U -t tag_name -f php://stdin
Upgrade specific tags from standard input
$ cat /path/to/file_with_tokens.txt | zD_builder.sh -U tag_name > /path/to/new/file_with_tokens.txt
$
$ cat /path/to/file_with_tokens.txt | zD_builder.sh -U tag1,tag2,tag3 > /path/to/new/file_with_tokens.txt


-U -t tag_name -f file_name
Upgrade specific tags in file
$ zD_builder.sh -U tag1,tag2 file_with_tokens.txt
$
$ zD_builder.sh -Ut tag1,tag2 file_with_tokens.txt
$
$ zD_builder.sh -Uf file_with_tokens.txt tag1,tag2


Development
zD Builder has no dependancy or conflict resolution (so far zDB has more general application without it), if someone wants to get carried away with that (or anything else) please let me know.

man zDB:

2<