7 special characters in scripts – Pilz PSSnet SHL 8T MRP User Manual
Page 20

Command Structure
20
1.1 Format
PSSnet SHL - Command Line Interface
Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
1.1.7 Special characters in scripts
Some of the configuration parameters are strings that can contain special
characters. When the switch creates a script from the running configuration
(by use of the command #show running-config
cial characters are written to the script with a so-called escape character pre-
ceding them. This ensures that when applying the script, these characters
are regarded as a normal part of the configuration parameter, not having the
special meaning they usually have.
Character (plain)
Meaning, when entered in the CLI
!
Begin of a comment, ! and the rest of the line will be ignored
"
Begin or end of a string that may contain space characters
'
Begin or end of a string that may contain space characters
?
Shows possible command keywords or parameters
\
The backslash has no special meaning here but because it is used as the
escape character, it now bears a special meaning (this part of the concept
is not backward compatible).
Tab. 2: Special characters
Character (escaped)
Meaning, when entered in the CLI
\!
! is part of the string
\"
" is part of the string
\'
' is part of the string
?
? is part of the string
\
\ is part of the string
Tab. 3: Special characters escaped