Attempt (2) egrep compat for Solaris vs. Linux