GSWB

CHAPTER 8 CLI Operations

• Input and display formats of special characters

Special characters can be entered for parameters that have "WORD" displayed for them in displayed help information, if use of such characters is not restricted by the applicable command.

The input and display formats of special characters are described below.

For simplicity, parameters containing special characters are referred to as "tokens."

zA token can be specified by enclosing the entire token between double quotation marks ("). Double quotation marks are not handled as specified characters.

zEach token must be enclosed by double quotation marks. If a token not enclosed by double quotation marks is entered, it is displayed with double quotation marks enclosing it.

zThe backslash character is used as the escape character for input of the following characters:

-Double quotation mark ("): backslash character + double quotation mark [\"]

-Backslash character (\): backslash character + backslash character [\\]

-Tab character (<tab>): backslash character + t [\t]

-Line feed character (<line feed>): backslash character + n [\n]

The backslash character is considered the escape character only in a token enclosed by double quotation marks. The backslash character in a token not enclosed by double quotation marks is handled as a specified character.

zIf a character that is not intended for escape input (any character other than ", \, t, and n) is entered after the escape character (backslash character in a token enclosed by double quotation marks), the escape character (backslash character) is ignored.

zTo enter "?", first press the [ctrl]+[v] keys (ASCII code: 0x16 in hexadecimal notation) and then the [?] key. The combination of [ctrl] + [v] itself is not considered an input character.

zA token that contains a double quotation mark not accompanied by the escape character is not a valid token.

zA token that consists of only one backslash character is not a valid token.

Table 8.5 Examples of input

Input

Output (show)

Internally processed string

Abc

abc

Abc

abc{}=#!

"abc{}=#!"

abc{}=#!

\

"\\"

\

\"

"\\\""

\"

\\

"\\\\"

\\

8-8

C122-E003-02EN