OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [concat.n] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1993 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: concat.n,v 1.1.1.1 2002-01-16 10:25:24 markom Exp $
9
'\"
10
.so man.macros
11
.TH concat n "" Tcl "Tcl Built-In Commands"
12
.BS
13
'\" Note:  do not modify the .SH NAME line immediately below!
14
.SH NAME
15
concat \- Join lists together
16
.SH SYNOPSIS
17
\fBconcat\fI \fR?\fIarg arg ...\fR?
18
.BE
19
 
20
.SH DESCRIPTION
21
.PP
22
This command treats each argument as a list and concatenates them
23
into a single list.
24
It also eliminates leading and trailing spaces in the \fIarg\fR's
25
and adds a single separator space between \fIarg\fR's.
26
It permits any number of arguments.  For example,
27
the command
28
.CS
29
\fBconcat a b {c d e} {f {g h}}\fR
30
.CE
31
will return
32
.CS
33
\fBa b c d e f {g h}\fR
34
.CE
35
as its result.
36
.PP
37
If no \fIarg\fRs are supplied, the result is an empty string.
38
 
39
.SH KEYWORDS
40
concatenate, join, lists

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.