Avaya Using Technician Interface Software Instrukcja Użytkownika Strona 236

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 235
Using Technician Interface Software
9-4
The parameter number indicates the position of the value in the user entry. This
feature allows you to use the same value for more than one parameter. (Refer to
the last two examples.)
Examples:
Note: You cannot combine the two methods of inserting parameters within an
alias.
If you enter: The system:
alias scroll “more $” Creates an alias named scroll that invokes
the
more command and inserts the value the
user enters when using the alias (as shown
in the next example).
scroll on Invokes the command more on.
alias cp “copy 2:%1 3:%2” Creates an alias named cp that accepts two
values and inserts them in parameter
positions
%1 and %2, respectively (as
shown in the next example).
cp config2.cfg alt.cfg Invokes the copy command associated with
the alias cp, inserts the config2.cfg value in
the first parameter position (
%1) and inserts
the alt.cfg value in the second parameter
(
%2). The system then invokes the
command; it copies the config2.cfg file on
Slot 2 to a new file alt.cfg on Slot 3.
alias backup “copy 2:%1 3:%1” Creates an alias named backup that takes
the first value the user enters when using
the alias and inserts it in both parameter
positions indicated by
%1 (as shown in the
next example).
backup config Invokes the copy command associated with
the alias backup, inserts the config value in
the parameter positions indicated by
%1 in
the <alias_value>, and copies the config
file from Slot 2 to Slot 3.
Przeglądanie stron 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 351 352

Komentarze do niniejszej Instrukcji

Brak uwag