Sed by Example, Part 1 – Get to know the powerful UNIX editor
Sed by Example, Part 2 – How to further take advantage of the UNIX text editor
Sed by Example, Part 3 – Taking it to the next level: Data crunching, sed style
Linux: Using sed to insert lines before or after a match
How can I replace text after a specific word using sed?
Remove line containing certain string and the following line