Improve grep config