FW 07.00.00/HAFM SW 08.06.00 McDATA Enterprise Operating System Command Line Interface User Manual (620-000134-720, April 2005)

Table Of Contents
1
1-20
Enterprise Operating System Command Line Interface User Manual
Commenting Scripts
Commenting Scripts
The pound sign (#) can be used 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. For example, the following
examples are both valid:
Root> # Turn on beaconing<CR>
Root> maint system beacon true<CR>
Root> maint system beacon true<CR>
Root> # Turn on beaconing<CR>
ATTENTION! Comments of over 200 characters in length may cause
unpredictable system behavior. Limit comments to 200 characters per line.