krang_template_diff - describe differences between template datasets
Produce a diff of all changes from Krang dataset 1 to Krang dataset 2:
$ krang_template_diff templates1.kds templates2.kds > diff.txt
Same thing, ignoring changes in whitespace
$ krang_template_diff --diff-options -urbB --template_id 5 \
templates1.kds templates2.kds > diff.txt
krang_template_diff [options] from.kds to.kds
Arguments:
from - Krang template dataset file from which comparisons
are made
to - Krang template dataset for which additions will be
generated
Options:
--diff-options - options to pass to diff, defaults to "-ur". Note
that bric_template_patch requires '-ur' and won't
work with '-N'.
--help - shows this screen
--man - shows the full documentation
--verbose - print a running dialogue of operations. Repeat
up to three times of successively larger amounts
of debugging information.
This program produces a standard diff file describing the differences
between the templates on two Bricolage servers. This file may be used
with bric_template_patch to effect the changes described in the
diff.
diff to be installed and in your path.