sed command inside tcl script code example Example: sed command inside tcl script exec sed -i "s/$mTarget/$mReplace/g" $verilog_new