Comment Comment by bartbes Easily solved by just keeping some state: /^=====/ { inentry = !inentry; next } inentry Possibly without 'next' if you want the marker lines too. parent bartbes 8 years ago