There is no need to escape "#" in egrep regular expresions. Don't do it and avoid a harmless warnings.