About "quot;
- Last Updated: May 12, 2023
- 1 minute read
- WhatsUp Gold
- Version 2026
- Version 2025
- Version 2024
- Version 2023.1
Within Configuration Management scripts the dollar sign, '
#39;, is a reserved character required for use in variable references. If a script requires the use of a dollar sign outside of the variable reference it may be escaped with an additional dollar sign.For example to write the Password 'pa$word' you would escape the two dollar signs with additional dollar signs: 'pa$$word'
Note: To avoid erroneous dollar sign variable references, Configuration Management allows a single unescaped dollar sign when not followed by an open parentheses "
$(". A line containing "thiquot; would pass without needing to be escaped. Whereas the line "thi$(" would require the dollar sign be escaped "thi$(". Use the table below as an illustration of how many
#39;s you must enter in Configuration Management to achieve the appropriate number of #39;s in a script command.To achieve x # of #39;s | Enter this many #39;s in the code |
|---|---|
|
$ |
$ |
|
$ |
$$ or $$ |
|
$$ |
$$$ (5) or $$$ (6) |
|
$$ |
$$$$ (7) or $$$$ (8) |