Re: How to treat puts <value> as pure text - not a command
- From: "suchenwi" <richard.suchenwirth-bauersachs@xxxxxxxxxxx>
- Date: 31 Mar 2006 05:36:10 -0800
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]...
.
- Follow-Ups:
- References:
- Prev by Date: Re: ANNOUNCE: TIP#262 Published
- Next by Date: Re: How to treat puts <value> as pure text - not a command
- Previous by thread: Re: How to treat puts <value> as pure text - not a command
- Next by thread: Re: How to treat puts <value> as pure text - not a command
- Index(es):