public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT awk question
@ 2018-01-17  1:49 Adam Carter
  2018-01-17  3:19 ` [gentoo-user] " Ian Zimmerman
  2018-01-17  7:16 ` [gentoo-user] " Alexander Kapshuk
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Carter @ 2018-01-17  1:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

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/'

[-- Attachment #2: Type: text/html, Size: 287 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-19  4:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17  1:49 [gentoo-user] OT awk question Adam Carter
2018-01-17  3:19 ` [gentoo-user] " Ian Zimmerman
2018-01-17  7:16 ` [gentoo-user] " Alexander Kapshuk
2018-01-18 22:13   ` Adam Carter
2018-01-19  4:20     ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox