How to find lines containing a string and then …
Is there a way to combine both steps into one command? I'm thinking piping the line number and the filename into sed and the line. I'm having a problem with the order in which the grep output is generated. Q1b. Same as above but also print the 2 lines before and 2 lines after the line containing the string (total of 5 lines)?
