Skip to content

Instantly share code, notes, and snippets.

@piotr-gbyliczek
Created November 3, 2015 16:28
Show Gist options
  • Save piotr-gbyliczek/4f220a6cfa94be3f243e to your computer and use it in GitHub Desktop.
Save piotr-gbyliczek/4f220a6cfa94be3f243e to your computer and use it in GitHub Desktop.
awk-pattern
awk 'BEGIN{found=0} /-------/{found=1;next}; /^$/{found=0} {if (found) print };'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment