Skip to content

Commit cd31c05

Browse files
committed
docs: document subst with $(...)
Fixes: #318 Signed-off-by: Steve Bennett <[email protected]>
1 parent f8bf4be commit cd31c05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jim_tcl.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4564,6 +4564,9 @@ For example, if +-nocommands+ is specified, no command substitution
45644564
is performed: open and close brackets are treated as ordinary
45654565
characters with no special interpretation.
45664566

4567+
*Note*: `expr` shorthand +$(\...)+ is considered a variable substitution
4568+
and so is disabled by +-novariables+.
4569+
45674570
*Note*: when it performs its substitutions, subst does not give any
45684571
special treatment to double quotes or curly braces. For example,
45694572
the following script returns +xyz \{44\}+, not +xyz \{$a\}+.

0 commit comments

Comments
 (0)