Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
count.sh
graph.png
textfile

README.md

Bash Script

This is a very simple example where a bash script is used to count the number of pages of an input file.

Original Experiment

The original example can be run as follows:

$ chmod +x count.sh
$ ./count.sh

which returns the following output:

5

ReproZip Package

The ReproZip package is available here (1.6 MB).

How to Reproduce

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