Timeline for How to grep -v and also exclude the next line after the match?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 30, 2015 at 0:01 | comment | added | Peter.O | awk -vpat="^SomeTestAA" -vRS="\nEndTest\n" 'BEGIN{ ORS=RS } $0 !~ pat' file | |
| Aug 29, 2015 at 23:03 | history | answered | Peter Cordes | CC BY-SA 3.0 |