grep modification