Much of the power of environment variables lies in the way that they may be substituted into configuration files. Variable substitutions are described below.
The line is scanned from left to right. In this scan, all characters other than dollar signs (‘$’) are retained without change. Dollar signs introduce environment variable references. References take three forms:
Undefined variables expand to a empty value.