Unix and Linux Discussions Tagged with tcl |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
9,105 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,752 |
Shell Programming and Scripting |
|
|
|
1 |
1,329 |
Shell Programming and Scripting |
|
|
|
11 |
5,234 |
Shell Programming and Scripting |
|
|
|
6 |
1,442 |
Shell Programming and Scripting |
|
|
|
0 |
3,778 |
Shell Programming and Scripting |
|
|
|
0 |
2,813 |
Shell Programming and Scripting |
|
|
|
1 |
1,360 |
Shell Programming and Scripting |
|
|
|
1 |
3,691 |
Shell Programming and Scripting |
|
|
|
1 |
1,754 |
Shell Programming and Scripting |
|
|
|
0 |
3,397 |
Shell Programming and Scripting |
|
|
|
0 |
7,032 |
Shell Programming and Scripting |
|
|
|
1 |
2,397 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,813 |
Shell Programming and Scripting |
|
|
|
0 |
3,563 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
14,143 |
Shell Programming and Scripting |
|
|
|
2 |
6,011 |
Shell Programming and Scripting |
|
|
|
0 |
8,090 |
Shell Programming and Scripting |
|
|
|
0 |
4,309 |
Shell Programming and Scripting |
|
|
|
0 |
3,922 |
Shell Programming and Scripting |
|
|
|
2 |
3,561 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
2,314 |
Shell Programming and Scripting |
|
|
|
0 |
1,059 |
Software Releases - RSS News |
|
|
|
0 |
979 |
Software Releases - RSS News |
|
|
|
0 |
959 |
Software Releases - RSS News |
|
|
|
0 |
1,793 |
Shell Programming and Scripting |
|
|
|
3 |
3,029 |
Shell Programming and Scripting |
|
|
|
0 |
882 |
Software Releases - RSS News |
|
|
|
2 |
9,660 |
Shell Programming and Scripting |
|
|
|
2 |
2,453 |
Shell Programming and Scripting |
|
|
|
0 |
766 |
Software Releases - RSS News |
|
|
|
0 |
772 |
Software Releases - RSS News |
|
|
|
0 |
852 |
Software Releases - RSS News |
|
|
|
0 |
719 |
Software Releases - RSS News |
|
|
|
0 |
3,394 |
Shell Programming and Scripting |
|
|
|
0 |
2,090 |
Shell Programming and Scripting |
|
|
|
0 |
811 |
Software Releases - RSS News |
|
|
|
0 |
1,052 |
Software Releases - RSS News |
|
|
|
1 |
14,437 |
Shell Programming and Scripting |
|
|
|
7 |
9,255 |
Shell Programming and Scripting |
source(n) Tcl Built-In Commands source(n)
__________________________________________________________________________________________________________________________________________________
NAME
source - Evaluate a file or resource as a Tcl script
SYNOPSIS
source fileName
source -encoding encodingName fileName |
_________________________________________________________________
DESCRIPTION
This command takes the contents of the specified file or resource and passes it to the Tcl interpreter as a text script. The return value
from source is the return value of the last command executed in the script. If an error occurs in evaluating the contents of the script
then the source command will return that error. If a return command is invoked from within the script then the remainder of the file will
be skipped and the source command will return normally with the result from the return command.
The end-of-file character for files is "32" (^Z) for all platforms. The source command will read files up to this character. This
restriction does not exist for the read or gets commands, allowing for files containing code and data segments (scripted documents). If
you require a "^Z" in code for string comparison, you can use "