::walk <thing> ! grep <string1> | grep -v <some other string>
should work (note the second ! replaced by |), everything after a ! is sent to the shell. Check the Shell Escapes section of the mdb(1) man page for the details. This message posted from opensolaris.org