Configuration Files Format
Configuration files consist of a number of lines of the form:
parameter_name parameter_value
For example:
database NEM_DATABASE
It is important to realize that the parameter value is interpreted as it stands, i.e. wildcard and variable expansions are not performed.
For example, the definition:
local_backup_device /local/r18_backup/nem_r18*
will not work as intended, as the wildcard character ‘*’ is not expanded.
Comments are indicated by the ‘#’ character, and continue to the end of the line. Multi-line comments must have a ‘#’ at the start of each line. The following examples show valid comments:
#this is a comment
#this is a longer comment that
#spans more than one line
#remove_off_alarms XXXX
database my_db # this is a comment
Notice that in the examples above, the “remove_off_alarms” parameter has been commented out, while the “database” parameter is set to “my_db”.
The parameter value must not contain any white space (i.e. space or tab characters).
If the parameter value contains a “#” character, then this must be prefixed by a backslash “ \ ” to prevent it being treated as a comment.
If the parameter value contains a space or tab character, then this must be prefixed by a backslash “ \ ”.