I'd like to know how I could replace a line that contains a pattern but only if the prior line has another pattern using sed. I have a text file that contains the following: I'd like to know how I could replace a line tha
I'd like to know how I could replace a line that contains a pattern but only if the prior line has another pattern using sed. I have a text file that contains the following: I'd like to know how I could replace a line tha