Fixed a problem with egrep;