News for hackers. Stuff that matters.
Re:Learn just a little Awk (2010) by bcbrown on Friday June 15, 2018 @05:52PM (#17323929)
You can use regex ranges to match every line between two regexes: https://www.gnu.org/software/gawk/manual/html_node/Ranges.ht...

Another option might be to use multi-line records (https://www.gnu.org/software/gawk/manual/html_node/Multiple-...). First pre-process the file to add an empty line before each header, then use blank lines as the record separator and newlines for the field separator.

There are no comments on this comment yet.