Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
Writing Technician Interface Scripts
2-4
308660-14.00 Rev 00
cutenv
The
cutenv
command allows you to select portions of a
<text_string>
(as
specified by
<list>
) and write them to a pseudo-variable array, beginning with the
prefix
<variable_name>
. The items specified by
<list>
can represent column
position or fields delimited by a special character. Column and field numbering
start at 1.
Syntax
The
cutenv
command has the following syntax:
cutenv
[
-s
]
[
-d
<delimiter>
]
[
-f
<list>
| -c
<list>
]
<variable_name>
<text_string>
-s
suppresses
<text_string>
with no delimiter characters.
-d
<delimiter>
sets the field delimiter to
<delimiter>
. The default is a tab.
Characters with a special meaning to the Technician Interface interpreter, such as
a tab or space character, must be set in quotes.
-f
<list>
is field position. Instead of character positions,
<list>
specifies fields that
are separated by a delimiter (for example, a tab). Separate variables are created for
each noncontiguous field of characters selected. For example:
1,4,7 represent fields 1, 4, and 7.
-c
<list>
is character position.
<list>
is a comma-separated list of integer field
numbers (in increasing order), with an optional hyphen (
-
) to indicate ranges.
Separate variables are created for each noncontiguous set of characters. For
example:
2,4,6 represent characters 2, 4, and 6.
1-5,9 represent characters 1 through 5, inclusive, and 9.
-5,10 represent the first character in the list through 5, inclusive, and 10.
5- represent the character 5 through the last character in the list, inclusive.
Numbers and number ranges may be repeated, overlapping, and in any order. You
can select fields or columns not present in the text string.
<variable_name>
is the prefix or name representing the pseudo-variable array.
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 115 116

Commentaires sur ces manuels

Pas de commentaire