diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2023-11-30 19:23:50 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2023-11-30 19:23:50 (GMT) |
commit | 516659e2fccead0e1588df36883c1386e5ad6a82 (patch) | |
tree | c660af03e8de75bcfe9ccd27c18a03fe8c25885c /doc/exec.n | |
parent | f22a7c3103ade53a94b1382001fbaa4d49da3fd9 (diff) | |
download | tcl-516659e2fccead0e1588df36883c1386e5ad6a82.zip tcl-516659e2fccead0e1588df36883c1386e5ad6a82.tar.gz tcl-516659e2fccead0e1588df36883c1386e5ad6a82.tar.bz2 |
MS-Win: document the exec %var% re-allowance. Ticket [fb2fa9b3f6]
Diffstat (limited to 'doc/exec.n')
-rw-r--r-- | doc/exec.n | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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 |