DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
(TCL) commands by type
List handling commands
Available commands are:
concat
(TCL)
joins lists together
intersect
(TCL)
returns the logical intersection of two lists
intersect3
(TCL)
returns the logical intersection of two lists and exceptions
lappend
(TCL)
appends list elements onto a variable
lassign
(TCL)
assigns successive elements of a list to specified variables
lempty
(TCL)
determines if a specified list is empty
lindex
(TCL)
retrieves an element from a list
linsert
(TCL)
inserts elements into a list
list
(TCL)
creates a list
llength
(TCL)
counts the number of elements in a list
lmatch
(TCL)
returns list entries matching a specified pattern
lrange
(TCL)
returns one or more adjacent elements from a list
lreplace
(TCL)
replaces elements in a list with new elements
lrmdups
(TCL)
removes duplicate list entries and re-sort the list
lsearch
(TCL)
determines if a list contains a particular element
lsort
(TCL)
sorts the elements of a list
lvarcat
(TCL)
concatenates a string to the end of a specified list
lvarpop
(TCL)
deletes the list element indexed by a specified variable
lvarpush
(TCL)
inserts a string in a specified list
union
(TCL)
returns the logical unique union of two lists
Next topic:
Regular expression commands
Previous topic:
File input and output commands
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003