Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT awk question
Date: Wed, 17 Jan 2018 01:49:59
I'm using this to grab a section of text across multiple lines, how do i
get it to exit after the first match?

awk '/foo/,/bar/'


Subject Author
[gentoo-user] Re: OT awk question Ian Zimmerman <itz@××××××××××××.org>
Re: [gentoo-user] OT awk question Alexander Kapshuk <alexander.kapshuk@×××××.com>