summaryrefslogtreecommitdiffstats
path: root/doc/exec.n
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2023-11-30 19:26:35 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2023-11-30 19:26:35 (GMT)
commitedb398c147e11260b98bd7a35b45b7dd3cef1db7 (patch)
treef038d7f468dca9a095a28dd7411c079ca2a43cfd /doc/exec.n
parent9e3d1256d3f35be52407fb8134a9109970215112 (diff)
parent516659e2fccead0e1588df36883c1386e5ad6a82 (diff)
downloadtcl-edb398c147e11260b98bd7a35b45b7dd3cef1db7.zip
tcl-edb398c147e11260b98bd7a35b45b7dd3cef1db7.tar.gz
tcl-edb398c147e11260b98bd7a35b45b7dd3cef1db7.tar.bz2
Merge 8.6
Diffstat (limited to 'doc/exec.n')
-rw-r--r--doc/exec.n13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/exec.n b/doc/exec.n
index 01df48b..91f37e1 100644
--- a/doc/exec.n
+++ b/doc/exec.n
@@ -254,22 +254,21 @@ Examples are:
ENV X: CONTENT OF X
.CE
The following formatting is automatically performed on any
-argument item:
-.IP \(bu 3
-Avoid subprogram execution:
+argument item to avoid subprogram execution:
Any special character argument containing a special character (\fB&\fR, \fB|\fR,
\fB^\fR, \fB<\fR, \fB>\fR, \fB!\fR, \fB(\fR, \fB)\fR, \fB(\fR, \fB%\fR)
is automatically enclosed in quotes (\fB"\fR). Any data quote is escaped by
insertion of backslash characters.
-.IP \(bu 3
-Avoid environment variable replacement:
-Any appearence of environment variable reference (\fB%\fR) is individually quoted
-by \fB"\fR.
+.PP
+The automatic resolving of environment variables using "\fB%var%\fR" is critical,
+but has more use than danger and is not escaped.
.PP
TCL 8.6.10 refined this quoting by adding quoting for data quotes and individual
quoting of "\fB%\fR".
This may break present scripts which rely on the replacement functionality of
environment variables.
+Thus, the individual quoting of "\fB%\fR" was removed in TCL 8.6.14, as environment
+variables are seen more helpful than a problem.
A solution with command parameters is envisaged for a future release of TCL.
.RE
.PP