diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 8b4f2011e..5459e88b3 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -399,6 +399,9 @@ sign, write ``$$`` to the file - this has to be done even when there's no matching environment variable for the word following a single ``$``. Note that tilde (``~``) is not expanded, instead use the ``$HOME`` or equivalent environment variable (depending on your operating system). +For environment variable names with non-alphanumeric characters, +enclose the name in curly braces (e.g., ``${ProgramFiles(x86)}``). +Without braces, the parser stops at the first non-alphanumeric character. Patterns need to match on complete path components. For example, the pattern ``foo``: