ps -x > /usr/tmp/~cnr$PPID if (grep "$1" /usr/tmp/~cnr$PPID > /dev/null) then echo "" > /dev/null # impressive? yeah whatever else $2 fi rm -f /usr/tmp/~cnr$PPID # mdn