28.1.1.3 Escaping special characters in macro definitions
Use a backslash in a macro to escape other characters, such as “\”, “<”, “>”, “"”, “$”, “;” and “ ” (space). For example, if you need to start a macro content line with “[” or “;” (left bracket or semicolon), preface the line with a backslash, to keep the line from being treated as a comment or section head:
\; This is not a configuration-file comment
; This is a configuration-file comment
To specify a trailing space at the end of a macro, insert any of the following:
\ (a backslash followed by a space)
\~ (a backslash followed by a tilde).
The \~ convention is especially helpful, because it allows you to show that a space is unequivocally intended.
Make sure to escape the backslash itself if your macro includes path names. For example:
copy "c:\\more graphics\\*.jpg"
To include a comment in macro definitions, see §28.1.1.5 Including comments in macro definitions.
> 28 Working with macros > 28.1 Defining and invoking macros > 28.1.1 Defining macros > 28.1.1.3 Escaping special characters in macro definitions