Unix and Linux Discussions Tagged with join |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,981 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
7,290 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,867 |
Shell Programming and Scripting |
|
|
|
5 |
11,952 |
Shell Programming and Scripting |
|
|
|
2 |
4,257 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,665 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,681 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
7,860 |
Red Hat |
|
|
|
8 |
6,034 |
Shell Programming and Scripting |
|
|
|
15 |
7,764 |
Shell Programming and Scripting |
|
|
|
12 |
3,421 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
9,652 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,398 |
Shell Programming and Scripting |
|
|
|
6 |
10,803 |
Shell Programming and Scripting |
|
|
|
5 |
3,773 |
Shell Programming and Scripting |
|
|
|
8 |
3,514 |
Shell Programming and Scripting |
|
|
|
2 |
5,793 |
Shell Programming and Scripting |
|
|
|
9 |
2,572 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,696 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,036 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
9,699 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,380 |
Shell Programming and Scripting |
|
|
|
13 |
7,224 |
Windows & DOS: Issues & Discussions |
|
|
|
3 |
8,454 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
20,883 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
4,994 |
Programming |
|
|
|
2 |
6,844 |
Shell Programming and Scripting |
|
|
|
4 |
2,758 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,063 |
Shell Programming and Scripting |
|
|
|
1 |
2,058 |
Shell Programming and Scripting |
|
|
|
31 |
10,514 |
Shell Programming and Scripting |
|
|
|
1 |
3,909 |
Shell Programming and Scripting |
|
|
|
5 |
6,169 |
Shell Programming and Scripting |
|
|
|
7 |
3,893 |
Shell Programming and Scripting |
|
|
|
1 |
2,591 |
Shell Programming and Scripting |
|
|
|
1 |
2,420 |
Shell Programming and Scripting |
|
|
|
2 |
2,113 |
Shell Programming and Scripting |
|
|
|
5 |
13,544 |
Shell Programming and Scripting |
|
|
|
2 |
3,146 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,284 |
Shell Programming and Scripting |
join(1T) Tcl Built-In Commands join(1T)
__________________________________________________________________________________________________________________________________________________
NAME
join - Create a string by joining together list elements
SYNOPSIS
join list ?joinString?
_________________________________________________________________
DESCRIPTION
The list argument must be a valid Tcl list. This command returns the string formed by joining all of the elements of list together with
joinString separating each adjacent pair of elements. The joinString argument defaults to a space character.
EXAMPLES
Making a comma-separated list:
set data {1 2 3 4 5}
join $data ", "
=> 1, 2, 3, 4, 5
Using join to flatten a list by a single level:
set data {1 {2 3} 4 {5 {6 7} 8}}
join $data
=> 1 2 3 4 5 {6 7} 8
SEE ALSO
list(1T), lappend(1T), split(1T)
KEYWORDS
element, join, list, separator
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTcl |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tcl is available on http://opensolaris.org.
Tcl join(1T)