modify grep line