Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Privilege Manager for Unix 6.1.1 - Administration Guide for Unix

One Identity Privileged Access Suite for Unix Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager Variables Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures Privilege Manager programs Installation Packages

insert

Syntax
list insert( list dest, int index, string src1, [, string src2, ...] )
Description

insert constructs a list by inserting strings into a list at the specified position. Note that the first element in the list is index: 0. If the index is greater than the length of the specified list (for example, 999), then the strings append to the end of the list.

Returns the newly constructed list.

Example
trustedusers={"jamie", "cory", "robyn"}; 
a=insert(trustedusers, 1, "leslie"); 

sets a to the list:

{"jamie", "leslie", "cory", "robyn"}

Related Topics

append

join

join

Syntax
string join( list X [, string delimiter] )
Description

join returns a string constructed by concatenating each element of list X. Each element of the string is separated by delimiter. The default delimiter is a space character.

Example
trustedusers={"jamie", "cory", "robyn"}; 
print(join(trustedusers, "\n")); 

Prints the following string:

jamie 
cory 
robyn
Related Topics

append

insert

length

Syntax
int length( list|string X )
Description

length returns the number of elements in the specified list or the number of characters in the specified string.

Example
trustedusers={"jamie", "cory", "robyn"}; 
print(length(trustedusers)); 

lsubst

Syntax
string lsubst( list X, string pattern, string replacement )
Description

lsubst substitutes part of a string with another string throughout all or a specified part of a list X.

Example
print(lsubst({"xxxonexxx","xxxonexxx"},"one","two")); 

#prints the following list 
#"{xxxtwoxxx,xxxtwoxxx}" 
Documents connexes