User manual
1
Introduction
1-21
Commenting Scripts
Commenting Scripts
Use the pound sign (#) to add comments in a script file. The pound
sign must be the first character in the line; the CLI ignores everything
after the pound sign in that line. The following lines are valid:
Root> #Change port 3 to an E_Port<CR>
Root> config port<CR>
config.port> ##################<CR>
config.port> ## Begin Script ##<CR>
config.port> ##################<CR>
The pound sign cannot be used after any other characters (a
command, for example) to start a comment. The following is an
invalid script line:
Root> maint system beacon true # Turn on beaconing<CR>
To correct the previous script line, move the comment either before or
after the line with the command.
Both the following examples are valid:
Root> # Turn on beaconing<CR>
Root> maint system beacon true<CR>
Root> maint system beacon true<CR>
Root> # Turn on beaconing<CR>
NOTE: Limit comments to 200 characters per line. Comments of over 200
characters in length may cause unpredictable system behavior.