Posted to tcl by kostix at Sat Apr 12 12:21:40 GMT 2008view pretty
(Administrator) 1 % set LIST {foo[bar]baz quux{and}suxx} foo[bar]baz quux{and}suxx (Administrator) 2 % lsearch -glob $LIST foo* 0 (Administrator) 3 % lsearch -glob $LIST *and* 1 (Administrator) 4 % lsearch -glob $LIST nosuchthing -1