Technical data
Managing Aliases
303561-A Rev 00
9-5
Inserting Character Strings in an Alias
The
echo
command prints one or more strings of characters to the Technician
Interface console. When the Technician Interface receives the echo request, it
sends the accompanying string or strings back to the console. This command is
used primarily to accompany system responses to alias commands with
meaningful text. This section describes how to issue an
echo
command and how
to insert the
echo
command in an alias.
Enter the following command with one or more of the following parameters to
submit an echo request.
echo
[ ["]
<string>
["] ]
<string> is any string of characters.
echo
[ [
"
]
<string>
[
"
] ] [ [
"
]
<string>
[
"
] ] ...
Double quotes are required only when the string contains one or more spaces or
semicolons (;).
To instruct the system to display a string of characters when responding to an alias
command, you insert an
echo
command within the
<alias_value>
.
Surround each
<string>
within the
echo
command with double quotes if the
<string>
contains one or more spaces or semicolons (;). Precede each of the
double quotes surrounding the
<string>
with a backslash (\). If you do not use
double quotes, insert a backslash before the semicolon that separates the
echo
command from the next command.
Insert
echo \;
to instruct the system to display blank lines between commands
within an
<alias_value>
.
You can also embed parameter references within an
echo
command. See the first
example to see how this is done.
If you enter: The console displays:
echo hi
hi
echo “IP Input Statistics:”
IP Input Statistics:
echo Hi hello “How are you?”
Hi hello How are you?