solaris egrep doesn't of course support -q, so >/dev/null it
accept -pc-solaris too (in addition to -sun-solaris)