Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个清单 { Desg Desg Desg Desg Desg Desg}
我想看看列表中除了这些之外是否还有其他元素。我也不想运行一个循环。像 lcontain 这样的东西?
采用expr {[lsearch ... -not $list $pattern] >= 0}
expr {[lsearch ... -not $list $pattern] >= 0}