This is a very simple example where a bash script is used to count the number of pages of an input file.
The original example can be run as follows:
$ chmod +x count.sh
$ ./count.sh
which returns the following output:
5
The ReproZip package is available here (1.6 MB).
The example can be reproduced as follows:
$ reprounzip vagrant setup bash-count.rpz bash-count/
$ reprounzip vagrant run bash-count/
This example, although very simple, has many dependencies, as can be seen from its provenance graph. To generate the same graph:
$ reprounzip graph bash-count.dot bash-count.rpz
$ dot -Tpng bash-count.dot -o graph.png