ossp-pkg/rc/rc.conf
1.1
#
# OSSP rc rc.conf example
#
#### Inclusive options ####
func $OSSP_RC_ROOT/rc.iofunc $OSSP_RC_ROOT/rc.dbgfunc\
$OSSP_RC_ROOT/rc.exfunc
dirs /usr/local/rc /export/home/macgyver/runcommands
#file /export/home/rc.init #practically only used on command line
tmpdir /var/tmp
verbose
#silent
debug
#raw
defaultsection config #name for config section in rcfile
commonsection common #name for common section in rcfile
refsymbol & #can be @ or any unreserved ASCII symbol
rcfile 'rc.%s' #'rc.' followed by the program name
rcumask 002 #mask checked against rcfile permissions
deactivate OSSP_RC_DEACT #environment variable controls activation
# The following regex options need explanation
regex-section '(?<=^|\n)%%%s\s*\n(.+?)(?=\n%\S+|$)'
regex-param '..'
regex-reference '(?<=^|\n)%%%s\s*(.+?)(?=\n|;)'
regex-config '(\s+)=(.*)$'
#### Exclusive options ####
#help
#version
#showdefaults
#print
eval
#exec
#query
#labels
#info