droprdd – tool to write down the script, constructed from rdd configs.
Synopsis
droprdd
DATA
[options]
droprdd DATA OBJECT [options]
droprdd [options]
droprdd --help|--version
droprdd DATA OBJECT [options]
droprdd [options]
droprdd --help|--version
Description
droprdd
constructs script, based on the rdd(1)
configuration files, writes it to the file and prints the file name to stdout. Command does not launch resulting script.
The path to constructed script is formed by template:
$RDD_ROOT/var/dump/atomid_dataword1_dataword2_.../dump.sh
- $RDD_ROOT
- is absolute path to the root of rdd working directory.
- var/dump/
- part of the path is constant.
- atomid
- is the name of an object in list. Its value is stored in rdd_atom_id.
- dataword1, dataword2, ...
- are the command words, given as DATA for rdd(1). These words, separated by comma instead of _ symbol, are kept in rdd_prf_entry variable.
- dump.sh
- is constant name for a dumped script.
The conventions of rdd(1) apply here as well, including options, syntax, limits and environment. Refer to the head man page for their detailed description.
The changes, specific to droprdd command, are as follows:
- -
- Options, concerning choice of functions, take no effect.
- -
- Second argument OBJECT is always interpreted as the single object name. If the list is given, a script is constructed for the first object in that list.