CONTENTS | INDEX | PREV | NEXT


Examples



As GCompare example I have included scripts for a fictive program in the
drawer "ExampleScripts".


 MakePatchFile  creates
the patch file
and  UpdateMyProgram  applies
the patches.


The old versions of the example program "MyProgram" are in "Archive". The
patches for the program and a manual "MyProgram.readme" will be applied on the
distribution disk "MyProgram".



And for fast trials there is
the  CompareScript  to
use GCompare without the need to type shell commands.



The script  GCompareAdd  can
be used with the same arguments as GCompare.

It is useful to append new versions of a file to a patch file
containig the changes from one version to the next.

You have only to archive the oldest file version then, and you can rebuild
all other versions from the patch file by using GPatch again, until you have
the version you want.

In the recursive mode GPatch builds the latest version of the file.


I have received an installer example script from Thomas Baust. This script
has the name   UpdateMyProgram.installer  and
it patches a program "MyProgram" in a drawer selected by the user.
The comments and dialog texts are in German language.