r=bryner 1) Solaris should use the same option for |find| with Darwin; 2) Use `which foo | grep /foo$` instead of `which foo`, because Solaris |which| command always outputs something even the command is not found.