diff options
author | dkf <dkf@noemail.net> | 2007-10-25 09:38:44 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-10-25 09:38:44 (GMT) |
commit | 84cf9ec1a25763b7a293f93854d8c9ebf227774a (patch) | |
tree | 32e57b00570b9a2c59de8fcf769e11a280b1b8a8 /doc/source.n | |
parent | 375156f61693b3605e1cd93e521522e8777dc729 (diff) | |
download | tcl-84cf9ec1a25763b7a293f93854d8c9ebf227774a.zip tcl-84cf9ec1a25763b7a293f93854d8c9ebf227774a.tar.gz tcl-84cf9ec1a25763b7a293f93854d8c9ebf227774a.tar.bz2 |
GOOBE for command results in examples
FossilOrigin-Name: 4cf2fbc324fa4def5bedfd49509c07168607e28b
Diffstat (limited to 'doc/source.n')
-rw-r--r-- | doc/source.n | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/source.n b/doc/source.n index 353beb3..283e5e4 100644 --- a/doc/source.n +++ b/doc/source.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: source.n,v 1.11 2007/10/24 14:29:39 dkf Exp $ +'\" RCS: @(#) $Id: source.n,v 1.12 2007/10/25 09:38:45 dkf Exp $ '\" .so man.macros .TH source n "" Tcl "Tcl Built-In Commands" @@ -21,7 +21,6 @@ source \- Evaluate a file or resource as a Tcl script \fBsource\fR \fB\-encoding \fIencodingName fileName\fR .VE 8.5 .BE - .SH DESCRIPTION .PP This command takes the contents of the specified file or resource @@ -59,15 +58,14 @@ file \fBbar.tcl\fR: \fBsource\fR foo.tcl \fBsource\fR bar.tcl .CE +.PP Alternatively: .CS foreach scriptFile {foo.tcl bar.tcl} { \fBsource\fR $scriptFile } .CE - .SH "SEE ALSO" file(n), cd(n), encoding(n), info(n) - .SH KEYWORDS file, script |