From 8.5, [expr] operator for list inclusion test. if {$el in $list} ... is equivalent to, but much nicer than if {[lsearch -exact $list $el] >= 0} ... The negation ("not in") is [ni]. So 8.5 Tcl really makes us knights who say 'ni'... - [rs] 2007-04-26