rdd – the tool to launch script functions.



For developers

To run self-tests one will need:
coverage2 for Python2 (https://pypi.python.org/pypi/coverage)
subcom (https://opendistro.org/subcom/)

To generate new html and man documentation files from Latex sources, one will need:

devdoc utility (https://opendistro.org/devdoc/)
To generate text files (for README) one will need:
links or other text browser with option -dump
To generate pdf output one will need:
Latex typesetting system
latex2man package

Latest release

Latest code


rdd launches functions from selected libraries in interpreted languages. It also gathers data from config files in various combinations.
The tool allows to construct and launch scripts, where input data and control sequence are chosen from command line.

rdd takes user-described libraries, constructs executable script from them and launches. Data used inside the script and list of called functions are given by a user (in command line or config files). Script construction and launch can be repeated several times, if a user wants to launch his code for the series of objects.

Highlights of rdd:

Usage of shell with make-like semantics. No need in separate language for control scripts – already existing ones are used.
Launched code is dumped to plain file, which can be examined, debugged, edited, and used standalone without front-end.
Supported languages: POSIX shell, python2.


Default install resides in $HOME/rrr/.
    $ ./install.sh

Layout of default install:

The main executable.
Descriptions of the package in html format.
Manual pages for the package, same info as in html.
Library modules in python2. They are not intended to be used outside of rdd.

You would probably want to add path $HOME/rrr/bin/ to your default PATH in $HOME/.profile or $HOME/.bashrc.

To install self-tests, which need subcom (https://opendistro.org/subcom/):

    $ ./install.sh selftest
Result resides in $HOME/rrr/libexec/rddtest/ dir.

To install sample config file:

    $ ./install.sh sampleconf
Result resides in $HOME/rrr/etc/ dir.

Variable DESTDIR is used to keep the path to the root install destination. Its default value is:

    $ DESTDIR=$HOME/rrr ./install.sh
PREFIX is also supported, though its value can be appended directly to DESTDIR.

To install whole rdd somewhere system-wide:

    $ sudo env DESTDIR=/usr/poligon ./install.sh
Use direct system-wide installation only to empty separated DESTDIR. To integrate the material into working system use packages and installation methods of your OS.


Available under ISC License.
Copyright 2013-2020 Random Crew.