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