add grep before after line