Re: How to treat puts <value> as pure text - not a command




steve schrieb:

I've found that if the $in_line contains an unmatched '{' the script
errors with 'unmatched open brace in list'

Well yes, you're using [lsearch on in_line, which requires it to be
parsed as a list first.
For arbitrary strings, better use [string first] or [string match]...

.