DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

concat(TCL)


concat -- join lists together

Syntax

concat [arg arg ...]

Description

This command treats each argument as a list and concatenates them into a single list. It also eliminates leading and trailing spaces in the args and adds a single separator space between args. It permits any number of arguments. For example, the command

concat a b {c d e} {f {g h}}

will return

a b c d e f {g h}

as its result.

If no args are supplied, the result is an empty string.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003