# objsExclude.tcl # # modification history # -------------------- # 01a,24oct01,sn wrote # # DESCRIPTION # ar t | wtxtcl objsExclude.tcl # Output the result of excluding the objects specified # in > from the list of objects contained # in . while {![eof stdin]} { gets stdin obj set include 1 foreach exclude_obj $argv { if {$obj == $exclude_obj} { set include 0 break } } if $include { puts $obj } }