ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



concat(n)                                   Tcl Built-In Commands                                  concat(n)



____________________________________________________________________________________________________________

NAME
       concat - Join lists together

SYNOPSIS
       concat ?arg arg ...?
____________________________________________________________________________________________________________


DESCRIPTION
       This  command  joins  each  of its arguments together with spaces after trimming leading and trailing
       spaces from each of them.  If all the arguments are lists, this has the same effect as  concatenating
       them into a single list.  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, and
              concat " a b {c   " d "  e} f"
       will return
              a b {c d e} f
       as its result.

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


SEE ALSO
       append(n), eval(n)


KEYWORDS
       concatenate, join, lists



Tcl                                                  8.3                                           concat(n)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.