You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
410 B

#experiment with the dangers of substitution in the first position after = in pipelines
puts stderr "Relevant for consideration if attempting to build pipelines parametrically"
puts stdout {set i {"a b "}}
set i {"a b "}
catch {
% x=$i
} errm
puts stderr "% x=\$i -> $errm"
% "x=$i"
#%x="a b "
#however.. this is no different from the risk in normal tcl usage
# e.g lindex x$i 0