summaryrefslogtreecommitdiffstats
path: root/doc/source.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-25 09:38:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-25 09:38:45 (GMT)
commit62a236fa8f71da3cdeb93b771342fb48fc7c31e1 (patch)
tree32e57b00570b9a2c59de8fcf769e11a280b1b8a8 /doc/source.n
parent859f56b5099b2bfd3ad42becd2aaddca16196ce2 (diff)
downloadtcl-62a236fa8f71da3cdeb93b771342fb48fc7c31e1.zip
tcl-62a236fa8f71da3cdeb93b771342fb48fc7c31e1.tar.gz
tcl-62a236fa8f71da3cdeb93b771342fb48fc7c31e1.tar.bz2
GOOBE for command results in examples
Diffstat (limited to 'doc/source.n')
-rw-r--r--doc/source.n6
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