in reply to Re^3: grep and delete
in thread grep and delete
I think it does match the OP's spec: He said he wanted to truncate the lines below the word, ie the next line and beyond. Maybe I'm misreading it, but that's how it sounded to me. And the fact that he is speaking of lines leads me to believe that he is dealing with a file that has line endings.
Dave
|
|---|