Fozzeebear
Technical User
I need to delete particular blocks of text from a file using Sed.
Using '/AAA/,/BBB/d' I can delete from string AAA up to and including BBB. However, what do I need to use to delete from AAA up to and including the next line after BBB?
Is there an alternative for Sed that can be used to do this?
Using '/AAA/,/BBB/d' I can delete from string AAA up to and including BBB. However, what do I need to use to delete from AAA up to and including the next line after BBB?
Is there an alternative for Sed that can be used to do this?